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

When passing a string that has a % inside it to QUrlQuery::addQueryItem then it will not escape the % if it is followed with 2 hexadecimal characters

    XMLWordPrintable

Details

    • c8782acd457a05d366f611eca4f146a1659c91ea

    Description

      When passing a string that has a % inside it to QUrlQuery::addQueryItem then it will not escape the % if it is followed with 2 hexadecimal characters. This is because it considers it to already be escaped, but there are cases when it would be expected to escape it regardless.

      Granted the default is to only escape it if is a single %, but ideally if this could be made an option so that all %'s are escaped on request then that would be good. Alternatively, this should be documented as the case in QUrlQuery

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            andysh Andy Shaw
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes