Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using in-url basic authentication in firefox

Tags:

http

firefox

I'm using launching firefox from the command line in a script to get snapshots of pages. These pages have basic http authentication. When using:

firefox http://user:[email protected]

Either a dialog appears, or authentication doesn't work at all.

Is there any option to make firefox open the page without showing the dialog?

like image 370
diegogs Avatar asked May 17 '10 10:05

diegogs


2 Answers

For me it makes all the difference of the world adding the slash at the end of the context root. Without the slash, the popup opens. With the slash it logs in as expected.

http://username:[email protected]/login --> does not work http://username:[email protected]/login/ --> works

firefox version 19.0

like image 83
Andreas Panagiotidis Avatar answered Sep 27 '22 22:09

Andreas Panagiotidis


Open about:config page in firefox. Create a new Integer key (right-click->New->Integer): network.http.phishy-userpass-length with value 255.

like image 44
Paweł Nadolski Avatar answered Sep 27 '22 20:09

Paweł Nadolski