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

QNetworkAccessManager sends authorization header with blank user name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.15.0 RC2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 7 64-bit.
    • Platform/s:
      Windows
    • Story Points:
      8
    • Sprint:
      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

            Assignee:
            manordheim MÃ¥rten Nordheim
            Reporter:
            jvniosi54 J N
            PM Owner:
            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