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

QUrl::toPercentEncoding encodes '%' although it's contained in the exclude list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.4.2
    • Core: Other
    • None
    • All

    Description

      After switching from Qt 6.2.4 to Qt 6.4.2 the behavior of QUrl::toPercentEncoding has changed:

      The code

      auto encoded = QUrl::toPercentEncoding( QString( "space=%20&comma=%2C" ), "%&=" );

      gives different results.

      • Qt 6.2.4: "space=%20&comma=%2C"
      • Qt 6.4.2: "space=%2520&comma=%252C"

      I could not find any bug fix by searching for toPercentEncoding to explain this behavior change.

      Best regards,
      Max

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            hrabowski Maximilian Hrabowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes