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

When calling setUser() in QAuthenticator for an Md5digest auth then the realm is cleared, preventing the authentication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 4.8.1
    • 4.7.1
    • None
    • Windows XP

      When the signal QNetworkAccessManager::authenticationRequired is emitted then the QAuthenticator object contains the correct realm.
      Calling setUser() clears the realm and then the authentication fails.

      A workaround consists in setting the user name the format "realm\user", but the documentation doesn't state this and the version 4.6.3 worked fine with the format "user"

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

            Unassigned Unassigned
            pbrandoli Paolo Brandoli
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes