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

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

XMLWordPrintable

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

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes