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

QUrl::setAuthority() behavior changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.2.8, 6.4.3, 6.5.0, 6.6.0
    • 6.0.0, 6.5.0
    • Core: I/O
    • None
    • All
    • a14a3a548 (dev), 6de07b38d (6.5), 92fa05e87 (dev), 44854ab85 (6.4), 16b8315e8 (6.5), f317ffa31 (tqtc/lts-6.2), acff0cc76 (6.4), 73d233691 (tqtc/lts-6.2)

    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

        For Gerrit Dashboard: QTBUG-84315
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: