Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.2.6
-
None
-
All
Description
The SignInPanel's getPassword()-method is returning the password via "password.getModelObjectAsString();". This will filter any "special" characters like !,$, or & from the input. For (strong?) passwords this may not be desirable. (See also http://cwiki.apache.org/WICKET/validating-passwordtextfield.html)
I fixed this by returning "password.getInput();" from the method, although this may introduce other security-problems like SQL-injection.
Maybe a flag would be better solution?