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

QUrl::setAuthority() behavior changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None
    • Platform/s:
      All

      Description

      After https://codereview.qt-project.org/c/qt/qtbase/+/299983 , Port qt_urlRecode() to QStringView

      some code in qtwebsockets got break. code example like:

      bool m_isValid;
      QString host = QStringLiteral(":def@foo.com"); // or QStringLiteral("@foo.com")
      QUrl m_requestUrl;
      m_requestUrl.setAuthority(host);
      if (!m_requestUrl.userName().isNull()) {
        m_isValid = false; // it's true now after the qtbase change
      }
      

      More details:

        Attachments

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

          Activity

            People

            Assignee:
            mmutz Marc Mutz
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes