You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/09/28 21:55:04 UTC

[jira] [Assigned] (WICKET-5987) StringLengthValidator does not validate, but cuts off input

     [ https://issues.apache.org/jira/browse/WICKET-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-5987:
---------------------------------------

    Assignee: Martin Grigorov

> 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
>            Assignee: Martin Grigorov
>         Attachments: stringlenghttest.zip
>
>
> 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)