From kde-bugs-dist Tue Oct 31 22:18:45 2017 From: Andreas Schwab Date: Tue, 31 Oct 2017 22:18:45 +0000 To: kde-bugs-dist Subject: [frameworks-kio] [Bug 386406] New: Doubly encoded URL sent to proxy Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=150948833829007 https://bugs.kde.org/show_bug.cgi?id=3D386406 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 enc= odes it into '%2520'. --=20 You are receiving this mail because: You are watching all bug changes.=