From: ivan Date: Sun, 28 Dec 2008 19:10:30 +0000 (+0000) Subject: finish dealing with counties with spaces, etc., RT#4496 X-Git-Tag: root_of_webpay_support~170 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9e8206dc6a253409671e6d5c904b2d5189b18a86 finish dealing with counties with spaces, etc., RT#4496 --- 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";