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

QUrl::toAce() returns non-empty string for some invalid inputs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.2.0 Beta2
    • Core: URL Handling
    • None

    Description

      The documentation for QUrl::toAce() says: "This function returns an empty QByteArray if domain is not a valid hostname", and yet it returns non-empty strings for some invalid stuff:

      qDebug() << QUrl::toAce("xn--z.no");
      ---
      "xn--z.no"
      

      The test suite even checks this for some reason.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              ievgenii.meshcheriakov Ievgenii Meshcheriakov
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes