Closed Bug 189333 Opened 22 years ago Closed 9 years ago

Auth dialog does not ignore ":"

Categories

(Core Graveyard :: Networking: FTP, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 32761

People

(Reporter: benc, Unassigned)

References

()

Details

I am not sure if this is Necko or password manager, but I noticed that "username" and "username:" are handled as different accounts. ftp://anonymous@ftp.mozilla.org/ ftp://anonymous:@ftp.mozilla.org/ Both refer to "anonymous" as a user, but if you click on each link, you'll find that you have to fill out separate auth dialogs for each.
I do not understand. what do you mean when you say "you have to fill out separate auth dialogs for each". What are you expecting to have happen?
Doug, per RFC 1738, these two URLs are describing the same user: <URL:ftp://foo:@host.com/> has a user name of "foo" and an empty password. The two URLs I provided should refer to the same user, "foo", not two users "foo" and "foo:". Since they refer to the same user, the expect behavior if you clicked on both would be to have an auth dialog only appear once.
Severity: normal → minor
The HTTP version is bug 32761. I don't know if they have common for parsing this area.
mass reassigning to nobody.
Assignee: dougt → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.