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

QUrl::fromUserInput should not treat IPv6 addresses as files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.4.0
    • Component/s: Core: URL Handling
    • Labels:
      None

      Description

      When using QUrl::fromUserInput with ::1, it returns a QUrl with the value file:///::1. I'd expect something like http:// [::1] instead. (minus the space, couldn't get JIRA to not treat this as a link)

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes