https://bugs.winehq.org/show_bug.cgi?id=42774
Bug ID: 42774 Summary: WinHttpQueryAuthSchemes fails to return the correct supported value for multiple WWW-Authenticate Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winhttp Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
When WWW-Authenticate are received from a 401 server message, WinHttpQueryAuthSchemes fails.
Testcase patch sent to list https://source.winehq.org/patches/data/132316
https://bugs.winehq.org/show_bug.cgi?id=42774
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=42774
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Created attachment 57788 --> https://bugs.winehq.org/attachment.cgi?id=57788 patch
The issue is that WinHttpQueryAuthSchemes returns when it encounters an unknown scheme where it should proceed with the next header. This patch should fix it.
https://bugs.winehq.org/show_bug.cgi?id=42774
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Hans Leidekker from comment #1)
Created attachment 57788 [details] patch
The issue is that WinHttpQueryAuthSchemes returns when it encounters an unknown scheme where it should proceed with the next header. This patch should fix it.
Confirming it fixes the issue.
https://bugs.winehq.org/show_bug.cgi?id=42774
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Hans Leidekker from comment #1)
Created attachment 57788 [details] patch
The issue is that WinHttpQueryAuthSchemes returns when it encounters an unknown scheme where it should proceed with the next header. This patch should fix it.
Any chance of up-streaming it any time soon? ;)
https://bugs.winehq.org/show_bug.cgi?id=42774
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- https://source.winehq.org/git/wine.git/commit/6b6ffb399a113a5125098671c1660e...
https://bugs.winehq.org/show_bug.cgi?id=42774
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6b6ffb399a113a5125098671c16 | |60e4c2c419d81 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed.
https://bugs.winehq.org/show_bug.cgi?id=42774
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |2.5
https://bugs.winehq.org/show_bug.cgi?id=42774
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.6.
https://bugs.winehq.org/show_bug.cgi?id=42774
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=42774
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #7 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.2.