Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-07-02 Thread Shanti Suresh
Greetings, On Wed, Jun 26, 2013 at 4:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, But, even when sending UTF-8 encoded data according to this principle, they are *not* indicating that it is UTF-8 data, which

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-07-02 Thread André Warnier
Shanti Suresh wrote: Greetings, On Wed, Jun 26, 2013 at 4:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, But, even when sending UTF-8 encoded data according to this principle, they are *not* indicating that it is

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Jan Vávra
Hello, When I create user with password with czech String ŽežUlička.1 the browser sends correctly this string as: POST http://localhost:70/myapp/j_security_check HTTP/1.1 Content-Type: application/x-www-form-urlencoded j_username=pj_password=%C5%BDe%C5%BEUli%C4%8Dka.1 The browser is not

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread André Warnier
Jan Vávra wrote: Hello, When I create user with password with czech String ŽežUlička.1 the browser sends correctly this string as: POST http://localhost:70/myapp/j_security_check HTTP/1.1 Content-Type: application/x-www-form-urlencoded j_username=pj_password=%C5%BDe%C5%BEUli%C4%8Dka.1 The

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 6/26/13 7:14 AM, Jan Vávra wrote: Hello, When I create user with password with czech String ŽežUlička.1 the browser sends correctly this string as: POST http://localhost:70/myapp/j_security_check HTTP/1.1 Content-Type:

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 6/26/13 8:01 AM, André Warnier wrote: Jan Vávra wrote: Hello, When I create user with password with czech String ŽežUlička.1 the browser sends correctly this string as: POST http://localhost:70/myapp/j_security_check HTTP/1.1

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Shanti Suresh
Hi Chris, This is such an interesting discussion. I am not sure what to make of this person's comment: --- TAXI 2012-10-09 09:03:59 PDT Wow, no fix since 8 years... And this is a real bug: If the HTTP header says the file is encoded in ISO-8859-1 the common way to override

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread André Warnier
Shanti Suresh wrote: Hi Chris, This is such an interesting discussion. I am not sure what to make of this person's comment: --- TAXI 2012-10-09 09:03:59 PDT Wow, no fix since 8 years... And this is a real bug: If the HTTP header says the file is encoded in ISO-8859-1 the

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Konstantin Kolinko
2013/6/26 Shanti Suresh sha...@umich.edu: Hi Chris, This is such an interesting discussion. I am not sure what to make of this person's comment: --- TAXI 2012-10-09 09:03:59 PDT Wow, no fix since 8 years... And this is a real bug: If the HTTP header says the file is

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shanti, On 6/26/13 11:00 AM, Shanti Suresh wrote: Hi Chris, This is such an interesting discussion. I am not sure what to make of this person's comment: --- TAXI 2012-10-09 09:03:59 PDT Wow, no fix since 8 years...

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 6/26/13 11:40 AM, André Warnier wrote: Shanti Suresh wrote: Hi Chris, This is such an interesting discussion. I am not sure what to make of this person's comment: --- TAXI 2012-10-09 09:03:59 PDT Wow, no fix

FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Jan Vávra
Hello, I'm successfully using form based authenntication when login or password contains only letters from English alphabet. I have also written own realm. When I create user with password with czech String ŽežUlička.1 the browser sends correctly this string as: POST

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Jan Vávra
? De : Jan Vávra [va...@602.cz] Envoyé : lundi 24 juin 2013 13:36 À : Tomcat Users List Objet : FORM based authentication and utf-8 encoding of credentials Hello, I'm successfully using form based authenntication when login or password contains only letters from English alphabet. I

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Mark Thomas
On 24/06/2013 12:52, Jan Vávra wrote: Hello, I'm successfully using form based authenntication when login or password contains only letters from English alphabet. OK. That means you've got the basics set up correctly. I have also written own realm. I'd suggest testing with the default