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(a)winehq.org Reporter: leslie_alistair(a)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.