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

QDesktopServices::openUrl() encodes percents twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.0
    • GUI: Workspace
    • None
    • Tested on MacOs and Linux

    Description

      QDesktopServices::openUrl() encodes percents twice

      Calling QDesktopServices::openUrl("http://www.google.com/foo%5B%5D=1") opens a browser at "http://www.google.com/foo%255B%255D=1"

      This changes the meaning of the URL:

      The query string parameter "foo%5B%5D" decodes to foo[], while "foo%255B%255D" decodes to "foo%5B%5D".

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            arnaud.lb Arnaud Le Blanc
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes