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

QNetworkRequestFactory creates an incorrect network request

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.8, 6.9, 6.10
    • Network
    • None
    • 3
    • 965638584 (dev), ada917e4a (6.10), 76502f946 (6.9), 91248b1a9 (tqtc/lts-6.8)
    • Foundation Sprint 135

      The problem:

      In case of creating the network requiest in following way:

      QNetworkRequest request = factory->createRequest(input.m_urlStr);

      The resulting `request` value contains an incorrect `request.url()` result.

      Actualt result:

      QUrl has encoded QUERY parameters and decoded PATH parameters

      Expected result:

      Path also should be encoded. For example, the characters :/?#[]@!$&'()*+,;= should be encoded when present in the value of a path parameter. 

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

            tatiana.borisova Tatiana Borisova
            tatiana.borisova Tatiana Borisova
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes