Hi.

Which character encoding of user / password for the Basic Authentication Header is tomcat accepting?

A pretty simple question, but I didn't find a clear answer after googling for quite a while.

I know that there is no clear definition what should be used. For example browsers do it differently.

An example:

User: test
Password: 123ö  (german umlaut o with two dots at the end)

Firefox sends ISO-8859-1:
Authorization: Basic dGVzdDoxMjP2

Chrome sends UTF-8:
Authorization: Basic dGVzdDoxMjPDtg==

After trying it it seems tomcat accepts ISO-8859-1. Can this be configured?

Regards,
Norbert





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to