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

Details

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

    Description

      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"

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes