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

Juergen Donnerstag resolved WICKET-2552.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M1
                   1.4.4
         Assignee: Juergen Donnerstag

thanks a lot

> 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
>            Assignee: Juergen Donnerstag
>             Fix For: 1.4.4, 1.5-M1
>
>         Attachments: CreditCardValidatorTest.java, WICKET-2552-fix.patch
>
>
> (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.

Reply via email to