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

QUrl::fromUserInput() parses incorrectly URL with a password containing '?'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Invalid
    • 5.11.3
    • None
    • Core: URL Handling
    • None

    Description

      When calling QUrl::fromUserInput with an URL having a password containing a question mark like ftp://test:pass?word@example.com, the result is incorrect: http://ftp//test:pass?word@example.com.

       

      Tested with:

      qDebug() << QUrl::fromUserInput(QString::fromUtf8("ftp://test:pass?word@example.com"));
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            thsurrel Thomas Surrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes