You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Rob Audenaerde (JIRA)" <ji...@apache.org> on 2015/09/28 11:19:04 UTC
[jira] [Created] (WICKET-5987) StringLengthValidator does not
validate, but cuts off input
Rob Audenaerde created WICKET-5987:
--------------------------------------
Summary: StringLengthValidator does not validate, but cuts off input
Key: WICKET-5987
URL: https://issues.apache.org/jira/browse/WICKET-5987
Project: Wicket
Issue Type: Bug
Affects Versions: 7.0.0
Environment: ubuntu 14.04 LTS, Chrome 45, Java 8
Reporter: Rob Audenaerde
I have a change-password-page with a PasswordField with a StringValidator.lengthBetween( 3, 20 ).
I ran into an error where I could paste a long password (>20 chars), and Wicket not throwing errors, but cutting the password to length 20.
Wicket version: 7.0
Chrome: 45
The maxlength is rendered as attribute on the element.
<input id="password" type="password" name="password" value="" maxlength="20" minlength="3">
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)