I have a problem with Basic Authentication. The server was an Apache httpd server 2.2.12 and I have created a location protected by basic auth:
<Location /basictest>
AuthType Basic
AuthName "BasicAuth di Test"
AuthBasicProvider file
AuthUserFile /etc/apache2/basictest.passwords
Require valid-user
</Location>
In the password file /etc/apache2/basictest.passwords I have defined two:
user:password
pippo:pippo£
kanji:誰か確認上記これらのフ
If I test the access with Chrome (47.x) all works fine, but if I test the link with Firefox (43.x) or with Safari Web Browser on iOS(Safari/601.1) the authentication failed because the base64 encoding of user:password use a wrong character set (Windows-1252)! In Chrome test case the character set used was UTF-8
Chrome ---------> cGlwcG86cGlwcG/Cow==
Safari/FireFox -> cGlwcG86cGlwcG+j
In the meantime we waiting https://www.rfc-editor.org/rfc/rfc7617 implementations, can I force FireFox and Safari to use UTF-8 on base64 encryption as Chrome's behavior?