Peter
Peter

Reputation: 439

HTTP basic authentication via URL doesn't work with Firefox?

Normally you can login to sites that require HTTP basic authentication by passing the username and password in the URL, e.g.:

http://myusername:[email protected]/mypath

On my Linux machine, I could access this website without problems with my Konqueror browser as well as with my Opera browser. But with Firefox it doesn't work? It always displays the "Authentication Required" dialog window?

Any ideas why it would work with the other browsers but not with Firefox?

Peter

Upvotes: 1

Views: 2924

Answers (2)

Peter
Peter

Reputation: 439

I got it now, the problem was that FF makes a distinction between

http://myusername:[email protected]/mypath

and

http://myusername:[email protected]/mypath/

Notice the "/" at the end of the URL. With the first URL login doesn't work, with the second URL it works now.

Upvotes: 3

jfoucher
jfoucher

Reputation: 2281

Which version of firefox are you using?

I just tried it and I get You are about to log in to the site "example.com" with the username "myusername".

If I click on 'ok', I log on perfectly... This is using Firefox 3.6.3 on Ubuntu 10.04

It does display the "Authentication Required" window if the password is wrong though, which is normal...

Upvotes: 0

Related Questions