http://bugs.winehq.org/show_bug.cgi?id=34964
Bug #: 34964 Summary: Fails to prompt for Authentication. Product: Wine Version: 1.5.17 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mshtml AssignedTo: wine-bugs@winehq.org ReportedBy: leslie_alistair@hotmail.com Classification: Unclassified
wine iexplore http://sparxsystems.com/registered/index.html
The prompt for the username and password should appear but instead you get "Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required."
https://bugs.winehq.org/show_bug.cgi?id=34964
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #1 from Teras teras@luukku.com --- the same 1.7.37
https://bugs.winehq.org/show_bug.cgi?id=34964
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Fails to prompt for |Wine iexplore doesn't |Authentication. |prompt for username and | |password when HTTP basic | |authentication method is | |requested (RFC2617)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
refining "it doesn't work" style summary.
Wireshark session:
--- snip --- GET /registered/index.html HTTP/1.1 Accept: */* Host: sparxsystems.com User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Win32; Trident/5.0) Accept-Encoding: gzip, deflate Connection: Keep-Alive
HTTP/1.1 401 Authorization Required Date: Sat, 21 Feb 2015 13:08:25 GMT Server: Apache WWW-Authenticate: Basic realm="EA Registered users" Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 290 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1
..........u.1O.0..w.... ..E.V$h..T.Ba`t......|& ..;...xz.{.....uU..*x....{..nV0..rS..R...I.-.RV/.R...].Z.& l...n.....'...z.o..-.Q...JN..{3..e...$...nm............d?G.V3.> M.......n..!9..o....J...M.P.$Q.!...l..y ...I..au.. .C1..6....O.z.~bI....^Z..]2Dg..kg..Cn2.."........}....tv~...l....... --- snip ---
(no session credentials present/supplied and authorization cache empty)
--- snip --- Wine-dbg>p *request
{hdr={htype=WH_HHTTPREQ, vtbl=0x7e2fa740, hInternet=0x3, valid_handle=0x1, dwFlags=0x400000, dwContext=0x1600b8, dwError=0, ErrorMask=0x2, dwInternalFlags=0x2, refs=0x2, lpfnStatusCB=0x7ec8fddb, entry={next=0x18d4dc, prev=0x18d4dc}, children={next=0x14c5c4, prev=0x14c5c4}}, session=0x18d4a8, server=0x139670, proxy=(nil), path="/registered/index.html", verb="GET", netconn=0x160670, security_flags=0, connect_timeout=0xea60, send_timeout=0xffffffff, receive_timeout=0xffffffff, version="HTTP/1.1", status_code=0x191, statusText="Authorization Required", bytesToWrite=0, bytesWritten=0, ..., content_length=0x122, content_read=0x122}}
Wine-dbg>bt
Backtrace: =>0 0x7e2bbc93 HTTP_DoAuthorization+0x88(request=0x14c590, pszAuthValue="Basic realm="EA Registered users"", ppAuthInfo=0x14c640, domain_and_username=0x0(nil), password=0x0(nil), host="sparxsystems.com") [/home/focht/projects/wine/wine.repo/src/dlls/wininet/http.c:1031] in wininet (0x0078d7c8) 1 0x7e2c6f58 HTTP_HttpSendRequestW+0xbfe(request=0x14c590, lpszHeaders="Accept-Encoding: gzip, deflate", dwHeaderLength=0x1e, lpOptional=0x0(nil), dwOptionalLength=0, dwContentLength=0, bEndRequest=0x1) [/home/focht/projects/wine/wine.repo/src/dlls/wininet/http.c:5108] in wininet (0x0078e958) 2 0x7e2c754b AsyncHttpSendRequestProc+0xc1(hdr=0x160250) [/home/focht/projects/wine/wine.repo/src/dlls/wininet/http.c:5227] in wininet (0x0078e9a8) 3 0x7e2d3d4f INTERNET_WorkerThreadFunc+0x79(lpvParam=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/wininet/internet.c:3836] in wininet (0x0078e9d8) ... --- snip ---
$ wine --version wine-1.7.37
Regards
https://bugs.winehq.org/show_bug.cgi?id=34964
Joel Holdsworth joel@airwebreathe.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joel@airwebreathe.org.uk
https://bugs.winehq.org/show_bug.cgi?id=34964
--- Comment #3 from Joel Holdsworth joel@airwebreathe.org.uk --- This bug, #33214 and #30106 all seem to refer to the same problem.
https://bugs.winehq.org/show_bug.cgi?id=34964
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |0001@techemail.com
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 27020 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34964
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |karaluh@karaluh.pl
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 30106 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34964
Jean-Philippe Pialasse tests@pialasse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tests@pialasse.com
https://bugs.winehq.org/show_bug.cgi?id=34964
Rui rcorreia31@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rcorreia31@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34964
--- Comment #6 from Joel Holdsworth joel@airwebreathe.org.uk --- This is still an issue on Wine v2.9
https://bugs.winehq.org/show_bug.cgi?id=34964
karaluh karaluh@karaluh.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|karaluh@karaluh.pl |
https://bugs.winehq.org/show_bug.cgi?id=34964
--- Comment #7 from Joel Holdsworth joel@airwebreathe.org.uk --- Still an issue on v3.0-rc1
https://bugs.winehq.org/show_bug.cgi?id=34964
--- Comment #8 from Joel Holdsworth joel@airwebreathe.org.uk --- Still an issue on v4.2
https://bugs.winehq.org/show_bug.cgi?id=34964
--- Comment #9 from Joel Holdsworth joel@airwebreathe.org.uk --- Still an issue on v6.3
https://bugs.winehq.org/show_bug.cgi?id=34964
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mshtml |urlmon Keywords| |patch
--- Comment #10 from Dmitry Timoshkov dmitry@baikal.ru --- I sent a patch that implements this feature: https://www.winehq.org/pipermail/wine-devel/2021-June/188407.html
https://bugs.winehq.org/show_bug.cgi?id=34964
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- No news about this patch, Dmitry?
https://bugs.winehq.org/show_bug.cgi?id=34964
--- Comment #12 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to joaopa from comment #11)
No news about this patch, Dmitry?
Later I sent an improved version of the patch(es) with the tests https://www.winehq.org/pipermail/wine-devel/2021-June/189193.html https://www.winehq.org/pipermail/wine-devel/2021-June/189194.html https://www.winehq.org/pipermail/wine-devel/2021-June/189195.html https://www.winehq.org/pipermail/wine-devel/2021-June/189196.html however they have been dropped without any comment except the request from Jacek to not use external sites for the tests https://www.winehq.org/pipermail/wine-devel/2021-June/189230.html When I asked for some help with adding a PHP script on winehq side there was no answer.