RT# 80624 Selfservice workaround for Bug on Win10 Edge Browser
authorMitch Jackson <mitch@freeside.biz>
Thu, 26 Jul 2018 22:53:33 +0000 (17:53 -0500)
committerMitch Jackson <mitch@freeside.biz>
Thu, 26 Jul 2018 23:25:58 +0000 (23:25 +0000)
fs_selfservice/FS-SelfService/cgi/selfservice.cgi

index 6cf264c..3dc69e1 100755 (executable)
@@ -726,9 +726,9 @@ sub payment_results {
   $cgi->param('paycvv') =~ /^\s*(.{0,4})\s*$/ or die "illegal CVV2";
   my $paycvv = $1;
 
-  $cgi->param('month') =~ /^(\d{2})$/ or die "illegal month";
+  $cgi->param('month') =~ /^(\d{2})/ or die "illegal month";
   my $month = $1;
-  $cgi->param('year') =~ /^(\d{4})$/ or die "illegal year";
+  $cgi->param('year') =~ /^(\d{4})/ or die "illegal year";
   my $year = $1;
 
   $cgi->param('payname') =~ /^(.{0,80})$/ or die "illegal payname";
@@ -1325,5 +1325,3 @@ sub include {
                     );
 
 }
-
-