diff options
author | Duncan Parkes <duncan@fury.ukcod.org.uk> | 2011-02-19 00:39:22 +0000 |
---|---|---|
committer | Duncan Parkes <duncan@fury.ukcod.org.uk> | 2011-02-19 00:39:22 +0000 |
commit | a7232aeaaa1a75d92bc7271875254eaac660d7c9 (patch) | |
tree | 00a3052048a4a1c591147c09504720c84f188c4b | |
parent | 1006b6e3b5bfb16ced0d10a6d1a0b566d9f97518 (diff) |
Get rid of space from urls.
-rwxr-xr-x | web/alert.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/alert.cgi b/web/alert.cgi index 6ab3956c0..fba7ef5d7 100755 --- a/web/alert.cgi +++ b/web/alert.cgi @@ -101,6 +101,7 @@ sub alert_list { if (mySociety::PostcodeUtil::is_valid_postcode($input{pc})) { $pretty_pc = mySociety::PostcodeUtil::canonicalise_postcode($input{pc}); $pretty_pc_text = $pretty_pc; + $pretty_pc_text =~ s/ //g; $pretty_pc =~ s/ / /; } |