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

Howard M. Lewis Ship closed TAP5-883.
-------------------------------------

    Resolution: Won't Fix
    
> Regexp validator behaviour differs on client and server side
> ------------------------------------------------------------
>
>                 Key: TAP5-883
>                 URL: https://issues.apache.org/jira/browse/TAP5-883
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Dirk Lattermann
>            Priority: Minor
>              Labels: bulk-close-candidate
>
> In some situations, a value can pass client side regexp validation and fail 
> the server side validation. This should not be the case.
> The server regexp validator requires a value to match the regexp exactly from 
> start to end which is not the case on the client (browser).
> For example, given a regexp of [a-z]{2}, a value of hu4 passes validation on 
> the client and fails on the server.
> Workaround: use anchored regexps like ^[a-z]{2}$

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to