projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 80869 Harden process payment screen against Edge browser bug
[freeside.git]
/
httemplate
/
misc
/
process
/
payment.cgi
diff --git
a/httemplate/misc/process/payment.cgi
b/httemplate/misc/process/payment.cgi
index
d0e5896
..
7747bcb
100644
(file)
--- a/
httemplate/misc/process/payment.cgi
+++ b/
httemplate/misc/process/payment.cgi
@@
-100,11
+100,11
@@
if ( (my $custpaybynum = scalar($cgi->param('custpaybynum'))) > 0 ) {
# use new info
##
# use new info
##
- $cgi->param('year') =~ /^(\d
+)$
/
+ $cgi->param('year') =~ /^(\d
{4})
/
or errorpage("illegal year ". $cgi->param('year'));
$year = $1;
or errorpage("illegal year ". $cgi->param('year'));
$year = $1;
- $cgi->param('month') =~ /^(\d
+)$
/
+ $cgi->param('month') =~ /^(\d
{2})
/
or errorpage("illegal month ". $cgi->param('month'));
$month = $1;
or errorpage("illegal month ". $cgi->param('month'));
$month = $1;