diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-06-18 13:48:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-06-18 16:03:10 +0100 |
commit | 14eab1f628ffb700ec7231f1f82aabbb2a4fbc5a (patch) | |
tree | aec772ddc39a52fd35c0914f50e3ef09d26966e8 /perllib/FixMyStreet/Geocode.pm | |
parent | 75a07fbfc7d2cd407189204a8e9a90d7fc3675cc (diff) |
Keep commas in geocode lookups.
Diffstat (limited to 'perllib/FixMyStreet/Geocode.pm')
-rw-r--r-- | perllib/FixMyStreet/Geocode.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Geocode.pm b/perllib/FixMyStreet/Geocode.pm index aeac0ab6d..d552afaa5 100644 --- a/perllib/FixMyStreet/Geocode.pm +++ b/perllib/FixMyStreet/Geocode.pm @@ -59,7 +59,7 @@ sub string { sub escape { my ($s, $c) = @_; $s = lc($s); - $s =~ s/[^-&\w ']/ /g; + $s =~ s/[^-&\w ',]/ /g; $s =~ s/\s+/ /g; $s = URI::Escape::uri_escape_utf8($s); $s =~ s/%20/+/g; |