Closed Bug 227442 Opened 22 years ago Closed 22 years ago

URL: basic authentication does not work in 1.5

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: loidl, Assigned: darin.moz)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 With URLs which contain user and password like http://user:password@server.domain basic authentication does not work correctly. The first access to the site works, but for further HTTP requests, for which the same authentication is also needed, the browser requests user and password again with the authentication prompt window. I've looked into the relevant HTTP-GET paket and it seems to me that an entry like "Authorization: Basic bX89jdfnsdf" is missing, which is there if I use an earlier version of Mozilla. This bug is reproducible with Mozilla 1.5 (and Firebird 0.7) on Linux, Windows and Mac. With Mozilla Versions < 1.5 everything works correctly. Reproducible: Always Steps to Reproduce: 1. Access site with login and password in the URL (like http://user:password@server.domain) 2. Access any other link on the same site. Actual Results: Authentication prompt window pops up. Expected Results: Browser should remember authentication in URL.
reporter: please test a more recent build of mozilla. if the problem is reproducible then either provide a working testcase or please generate a HTTP log using the instructions available here: http://www.mozilla.org/projects/netlib/http/http-debugging.html thanks!
This might be a dup of bug 214071, depending on the use of absolute urls
I've tested Mozilla1.6a + the current nightly build (2003120305) under Linux. With both versions the problem does not exist any more. Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reopening, changing resolution to INVALID There's nothing changed to fix this bug so you should have used it, or this bug will end up in the stats at the wrong place ;)
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
-> INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Summary: basic authentication does not work correctly in Mozilla 1.5, if user and password are contained in the url → URL: basic authentication does not work in 1.5
You need to log in before you can comment on or make changes to this bug.