[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [frameworks-kio] [Bug 386406] New: Doubly encoded URL sent to proxy
From:       Andreas Schwab <bugzilla_noreply () kde ! org>
Date:       2017-10-31 22:18:45
Message-ID: bug-386406-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=386406

            Bug ID: 386406
           Summary: Doubly encoded URL sent to proxy
           Product: frameworks-kio
           Version: 5.32.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: faure@kde.org
          Reporter: schwab@linux-m68k.org
                CC: kdelibs-bugs@kde.org
  Target Milestone: ---

When using a proxy HTTPProtocol::formatRequestUri returns a doubly encoded URL.
 This is because since Qt 5.2 (commit 1de1470189) the QUrl setters use
DecodedMode instead of TolerantMode by default, which causes all '%' to be
encoded as '%25'.  Thus a space in a URL is encoded as '%2520':
QUrl::path(QUrl::FullyEncoded) encodes ' ' into '%20' and QUrl::setPath encodes
it into '%2520'.

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic