Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.12.0 Beta 4
-
Fix Version/s: 5.12.1, 5.13.0 Alpha 1
-
Component/s: Network
-
Labels:
-
Commits:eaf4438b3511c8380b9b691b656a87a60e342e29 (qt/qtbase/5.12.1)
Description
Since a0ebd98f58b2d92c34fafbc620f024caa36bf0ad ( https://codereview.qt-project.org/#/c/236585/ ) all paths are normalized. This causes issues in cases where the server differentiates / and // in a path. (I think /./ and /../ are also valid in paths, but it is fine to normalize them). Having an empty name in a path is a way to give empty parameter for path patterns.
For example, with:
QNetworkRequest(QUrl("http://example.com/some//path"))
The server now gets:
/some/path
wget, curl, chrome and firefox for example passes // in paths to the server as is, but normalizes /./ and /../ cases.
Attachments
Issue Links
- resulted from
-
QTBUG-69659 QNAM fails to retrieve non-normalized URLs
-
- Closed
-