Closed Bug 923939 Opened 11 years ago Closed 10 years ago

Issue using saved passwords for http://localhost

Categories

(Toolkit :: Password Manager, defect)

24 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 499649

People

(Reporter: fabrice.salvaire, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130917102642

Steps to reproduce:

On my laptop, I run a local instance of:
 - MoinMoin with an account fabrice 
 - WikiMedia with an account Fabrice

Firefox saved the passwords like this:
 - http://localhost Fabrice yyy
 - http://localhost fabrice xxx


Actual results:

When I try to log on MoinMoin with Fabrice, the form is already filled with fabrice, thus I have to enter fabrice instead, but Firefox change it automatically to fabrice. It's the hell.

Thus something is wrong on the way Firefox manage saved login. The explanation of this behaviour should be in the code.

A solution is to delete these saved passwords and maybe to don't press Enter.



Expected results:

Moreover Firefox should permit to distinguish between http://localhost/foo and http://localhost/bar.
> When I try to log on MoinMoin with Fabrice, the form is already filled with
> fabrice, thus I have to enter fabrice instead, but Firefox change it
> automatically to fabrice. It's the hell.

bug 499649


> Moreover Firefox should permit to distinguish between http://localhost/foo
> and http://localhost/bar.

Somebody somewhere posted about adding a domain with an IP like 127.0.0.3 to /etc/hosts for each test local server.
Component: Untriaged → Password Manager
Product: Firefox → Toolkit
Yeah, the workaround is to use /etc/hosts to give unique origins to the sites.

The patch in bug 499649 should fixed this.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.