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

When connecting to a server that uses Negoiate for the WWW-authenticate header then it will not respond correctly

    XMLWordPrintable

Details

    • All
    • e0918af700acefd6e80562c051e42d0b64097e1f 219ed70957cc93640a79e1f8098987256efbe212 89c8581bb1531b486f13d463a6767ec417947e5c 2c5e238fd8b117fd40672622351f30e53840ab16

    Description

      When connecting to a server that uses Negoiate for the WWW-authenticate header then it will not respond correctly. The server sends the following as the headers for a request:

      HTTP/1.1 401 Unauthorized
      Content-Type: text/plain;charset=utf-8
      Content-Length: 0
      WWW-Authenticate: Basic realm="rdwebservices"
      WWW-Authenticate: NTLM
      WWW-Authenticate: Negotiate
      

      and it will respond with:

      'Authorization: Negotiate '
      

      which does not contain the code needed to authorize. This is working fine on Windows so appears to be macOS specific and can be reproduced with the http example connecting to a standard IIS server.

      Attachments

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

        Activity

          People

            manordheim MÃ¥rten Nordheim
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes