aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-06-20 08:04:28 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-06-20 08:04:28 +0100
commit873ea570cc429b378eb33c8de90570a10414264c (patch)
tree094b86743e3e0267ec04fb36cb3f2245d402f163 /perllib/FixMyStreet/Geocode.pm
parent85ae59fdd1d8690efc569a193853072eb2519c89 (diff)
parente133cdcfda4b25e3fd04db6febf663009add05bc (diff)
Merge branch 'issues/commercial/1064-main-road-br5'
Diffstat (limited to 'perllib/FixMyStreet/Geocode.pm')
-rw-r--r--perllib/FixMyStreet/Geocode.pm2
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;