[daisy] [JIRA] Commented: (DSY-418) Authentication failed error
message does not displays unicode characters correctly
Bruno Dumon (JIRA)
issues at cocoondev.org
Mon Mar 12 05:14:20 CDT 2007
[ http://issues.cocoondev.org//browse/DSY-418?page=comments#action_13063 ]
Bruno Dumon commented on DSY-418:
---------------------------------
Hmm, there are two strange things about this:
(1) how does the \u00E4 get in there in the first place (apparently tomcat related)
(2) how come the authentication still succeeds with \u00E4 in it
\u is the Java unicode escape syntax, but especially for case (2) I'm not sure where the conversion happens (possibly the MySQL driver).
While looking at the authentication code I also saw the authentication might succeed when the login is not given with the correct case (since MySQL string searches are by default case-insensitive), I've added an additional check for this.
BTW, which Tomcat version is this?
> Authentication failed error message does not displays unicode characters correctly
> ----------------------------------------------------------------------------------
>
> Key: DSY-418
> URL: http://issues.cocoondev.org//browse/DSY-418
> Project: Daisy
> Type: Bug
> Components: Repository
> Versions: public - 2.0
> Reporter: Andreas Deininger
> Priority: Minor
>
> If someone tries to log in with a username that contains special characters (like umlauts) and does not succeed, the error message is misleading and confusing for end user.
> E.g. for username hänsel:
> Authentication failed for login "h\u00E4nsel" (unknown login, wrong password or unconfirmed registration).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list