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

fromUserInput() returns empty QUrl object for some urls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.5, 5.0.2
    • 4.8.4
    • Core: URL Handling
    • None
    • a17fc85b51a6bdcfa33dcff183d2b7efd667fb92 2a3d690a195607ee640d84aac762153c8096bf5b

    Description

      In qurl.cpp::fromUserInput around line 6558, it checks urlPrepended.port() to be -1. However when urlPrepended is not valid, its port number can be any invalid port number. Ex. QUrl::fromUserInput() returns empty QUrl object for tel:2147483648

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            seanzhu Sean Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes