Closed Bug 206707 Opened 21 years ago Closed 21 years ago

No support for simultanious different basic authentications to one site

Categories

(Core :: Networking: HTTP, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 143575

People

(Reporter: mozillabugs, Assigned: darin.moz)

Details

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030522
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030522

If using Mozilla I login to a site using basic authentication (ie .htpasswd
style), either using the popup authentication dialog or a URL like
http://username:password@site.com, and then attempt to authenticate to the same
site using http://username2.password2@site.com in another tab or window, it
still uses the username from the first session.

This works in Internet Explorer.  I'm not sure if the above behavior is
compliant with the relavent RFCs and IE has "embraced and extended" to support
different simultanious logins; or whether the above is some brokenness.  Either
way, this is something I have a real-world requirement for here and it would
seem to be a Good Idea to support it..

Reproducible: Always

Steps to Reproduce:
1. Login to site using basic authentication.
2. In a new window or tab, login to same site using basic authentication but a
different username/password in the URL (ie http://username2:password2@site.com)


Actual Results:  
The second window uses the login from the first window regardless of what login
is specified in the URL.

Expected Results:  
The second window should use the username/password specified in the URL.
sounds familiar...

*** This bug has been marked as a duplicate of 143575 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
VERIFIED/dupe
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.