torkell: (Default)
[personal profile] torkell
Hmm, Opera doesn't seem to like doing HTTP auth with a password with high ASCII (ÁÉÍÓÚ and friends). Curious. I thought HTTP was supposed to be 8-bit safe, and given that the password will be Base64 encoded anyway (if not hashed) they've got no excuse.

Edit: Well, either I'm mistyping the password or Firefox doesn't like them either (mistyped, Firefox works. Opera doesn't). How odd. Lemme check the RFC...

...yep, the username is defined as being 8-bit text excluding a ':' and the password is defined as any valid 8-bit text. The only characters not permitted are non-white-space control codes (0 .. 31). The spec even says to assume ISO-8859-1 for high ASCII.

Right, let's have a look with a packet sniffer...

...ah-hah! Opera transmits accented characters in some sort of multi-byte encoding (probably UTF-8), and there doesn't appear to be a setting to change this. Bad Opera.

Date: 2007-01-01 06:46 pm (UTC)
From: [identity profile] ralesk.livejournal.com
This is the popup window thingy that leads you to a 401 if you fail?

Date: 2007-01-01 08:36 pm (UTC)
From: [identity profile] ralesk.livejournal.com

Ahhh, hmm, can you set a charset=iso-8859-1 somehow in this?  I never used it, so I have no idea about how it works, what HTTP headers are in work here, etc.  Could be a way out though.

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 7th, 2026 09:55 pm
Powered by Dreamwidth Studios