[Bug 34964] Wine iexplore doesn't prompt for username and password when HTTP basic authentication method is requested (RFC2617)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 21 07:54:25 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=34964

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at 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 at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list