[Zope-dev] Bug in z3c.schema.payments

Mathias Gibbens mathias.gibbens at gmail.com
Sat Jul 16 16:22:46 EDT 2011


Hi List,

   There is a bug in z3c.schema.payments' validating of credit card 
numbers. The first check to make sure the leading digit is valid is 
actually checking the second digit. I noticed this because it wouldn't 
validate my own card number. I've attached a diff from the current SVN 
trunk which corrects this issue.

Mathias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z3c.schema.diff
Url: http://mail.zope.org/pipermail/zope-dev/attachments/20110716/4d28eb2d/attachment.pl 


More information about the Zope-Dev mailing list