ancruna / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

global_passwords_file does not work with IE8 #233

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up a htpasswd file with mongoose
2. Use this password file with "-g" option
3. Try to access the server with Internet Explorer 8

What is the expected output? What do you see instead?
The password dialog appears 3x, even if the correct login is entered. After 
that en empty page is showed.
In wireshark I see "HTTP/1.1 401 Unauthorized" answer on each login attempt. 
I've checked this with Firefox. The same Unauthorized messages appear, but 
Firefox does not take care of them.
I've checked a Login sequence with Cherokee Web Server. On first Login attempt 
it shows a "HTTP/1.1 401 Authorization required" and after login only "HTTP/1.1 
200 OK" messages.

What version of the product are you using? On what operating system?
Mongoose 2.11 on Linux

Original issue reported on code.google.com by thenk...@gmail.com on 21 Feb 2011 at 11:00

GoogleCodeExporter commented 9 years ago
OK, I was wrong: Firefox and Opera get the correct "HTTP/1.1 200 OK" message 
after login attempt.

Original comment by thenk...@gmail.com on 21 Feb 2011 at 11:56

GoogleCodeExporter commented 9 years ago
Could you check against  the latest code, please?

Original comment by valenok on 21 Feb 2011 at 2:19

GoogleCodeExporter commented 9 years ago
Hi, it works now. What was the problem here?

Original comment by thenk...@gmail.com on 21 Feb 2011 at 2:33

GoogleCodeExporter commented 9 years ago
The problem was in the authentication header parsing code.
Closing this.

Original comment by valenok on 21 Feb 2011 at 2:35

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by thenk...@gmail.com on 21 Feb 2011 at 2:40