You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/10/30 07:02:59 UTC

[jira] Commented: (WICKET-2552) CreditCardValidator accepts invalid inputs

    [ https://issues.apache.org/jira/browse/WICKET-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771821#action_12771821 ] 

Juergen Donnerstag commented on WICKET-2552:
--------------------------------------------

please provide a patch if you know all the rules

> CreditCardValidator accepts invalid inputs
> ------------------------------------------
>
>                 Key: WICKET-2552
>                 URL: https://issues.apache.org/jira/browse/WICKET-2552
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Madhuri Marri
>
> (1) The onValidate() method of the CreditCardValidator class returns true for invalid inputs with null or unicode character such as 4\0\0\0\0\0\0\0\0\0\0\0\0\0\0. 
> (2) Also there is no length check on the input, therefore even invalid length inputs such as 9845 are accepted. 
> (3) There is no check for invalid issuer identifier, i.e.,  840898920205250 is accepted, where 84XXXX is not a valid issuer identifier

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.