https://bugs.winehq.org/show_bug.cgi?id=43842
Bug ID: 43842 Summary: Cached Authorization cause wrong username/password to be used Product: Wine Version: 2.18 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wininet Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
When a connection is made to a server, the username/password is stored for later use. However, if a another connection is made to the same server, using a different username/password then the 1st username/passowrd is used instead.
Example of the code. Connecting to the same server, using Basic Authentication.
function GetData(username, pass) { internet = new CInternetSession;
CHttpConnection http = internet->GetHttpConnection(..., username, pass,...)
http->OpenRequest( "GET", "/", ..., _T("HTTP/1.1"), INTERNET_FLAG_EXISTING_CONNECT | INTERNET_FLAG_RELOAD | INTERNET_FLAG_DONT_CACHE | INTERNET_FLAG_SECURE; );
http.Close() internet.Close(); delete internet; }
GetData("user", "pass"); GetData("admin", "word");
https://bugs.winehq.org/show_bug.cgi?id=43842
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=43842
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |f40aa5552c96942240009282b2d | |b7739aa435f7a
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=f40aa5552c96942240009282b...
https://bugs.winehq.org/show_bug.cgi?id=43842
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.17.