diff options
-rwxr-xr-x | httemplate/browse/cust_main_county.cgi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/browse/cust_main_county.cgi b/httemplate/browse/cust_main_county.cgi index 34f1000f3..736d7fdbe 100755 --- a/httemplate/browse/cust_main_county.cgi +++ b/httemplate/browse/cust_main_county.cgi @@ -148,7 +148,11 @@ if ( $country && $cgi->param('state') =~ /^([\w \-\'\[\]]+)$/ ) { $cgi->delete('state'); my $county = ''; -if ( $country && $state && $cgi->param('county') =~ /^([\w \-\'\[\]]+)$/ ) { +if ( $country && $state && + $cgi->param('county') =~ + /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]]+)$/ + ) +{ $county = $1; if ( $county eq '__NONE__' ) { $title = "No county, $title"; |