[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi selfservice.cgi, 1.21.2.7, 1.21.2.8
Ivan,,,
ivan at wavetail.420.am
Tue Aug 25 17:45:38 PDT 2009
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv10985
Modified Files:
Tag: FREESIDE_1_7_BRANCH
selfservice.cgi
Log Message:
should fix processing payment with remembered/masked card info, hopefully, RT#5799
Index: selfservice.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/selfservice.cgi,v
retrieving revision 1.21.2.7
retrieving revision 1.21.2.8
diff -u -d -r1.21.2.7 -r1.21.2.8
--- selfservice.cgi 30 Sep 2008 20:18:17 -0000 1.21.2.7
+++ selfservice.cgi 26 Aug 2009 00:45:36 -0000 1.21.2.8
@@ -323,7 +323,7 @@
my $amount = $1;
my $payinfo = $cgi->param('payinfo');
- $payinfo =~ s/\D//g;
+ $payinfo =~ s/[^\dx]//g;
$payinfo =~ /^(\d{13,16})$/
#or $error ||= $init_data->{msgcat}{invalid_card}; #. $self->payinfo;
or die "illegal card"; #!!!
More information about the freeside-commits
mailing list