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

QNetworkAccessManager sends authorization header with blank user name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.15.0 RC2
    • None
    • Windows 7 64-bit.
    • Windows
    • 8
    • Team 2 Foundation_Sprint 41

    Description

      QNetworkAccessManager sometimes sends Digest authorization header even though neither QAuthenticator::setUser() nor QAuthenticator::setPassword() are ever called. I need to handle AuthenticationRequiredError myself and 90% of the time it works as documented but sometimes Qt resends the request with a Digest authorization header containing username="". According to the documentation, if neither setUser() nor setPassword() is called, finished() will be emitted with AuthenticationRequiredError. I am using Qt Creator 4.13.2 Based on Qt 5.15.1 (GCC 10.2.0, 64 bit).

      Attachments

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

        Activity

          People

            manordheim MÃ¥rten Nordheim
            jvniosi54 J N
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes