diff options
author | ivan <ivan> | 2008-12-28 19:10:30 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-12-28 19:10:30 +0000 |
commit | 9e8206dc6a253409671e6d5c904b2d5189b18a86 (patch) | |
tree | 49134dae6f89e99c1cb215045f982b82b6bdd882 /httemplate/browse | |
parent | f4078690a110a258ea8b459d9fd441df38031c13 (diff) |
finish dealing with counties with spaces, etc., RT#4496
Diffstat (limited to 'httemplate/browse')
-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"; |