diff options
author | ivan <ivan> | 2008-12-28 19:10:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-12-28 19:10:31 +0000 |
commit | b1f71fe03ed8983c8dd8d913a7b7a27c1ed96221 (patch) | |
tree | ad50655b063e71eecb69a17b55c220ba7fa8947a | |
parent | ca7bc48199241c8b2ab71ffdb47710f5f1b1a8b9 (diff) |
finish dealing with counties with spaces, etc., RT#4496
-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"; |