[Bug 43842] New: Cached Authorization cause wrong username/ password to be used
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Oct 4 22:29:33 CDT 2017
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 at winehq.org
Reporter: leslie_alistair at 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");
--
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