Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-71973

[REG: 5.11.1->5.11.2] QNAM normalizes urls

XMLWordPrintable

    • eaf4438b3511c8380b9b691b656a87a60e342e29 (qt/qtbase/5.12.1)

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            poikelin Joni Poikelin
            poikelin Joni Poikelin
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes