aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Default.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-04-20 14:59:26 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-04-20 14:59:26 +0100
commitf35b7eba0db02d16fa0aad5a78ee479165217e20 (patch)
tree27f69ec7020c7c6da81beb71c9e7552925c828d5 /perllib/FixMyStreet/Cobrand/Default.pm
parent1d453871ac2bb988ddcae29a16b6628781626595 (diff)
parentc5ffbbb856208dcc95bd3bab396e6a04c18e73cf (diff)
Merge branch '574-spot-slash-in-body-slug'
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index c76ee0f7d..6ba144f0d 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -625,6 +625,7 @@ sub short_name {
my ($area) = @_;
my $name = $area->{name} || $area->name;
+ $name =~ tr{/}{_};
$name = URI::Escape::uri_escape_utf8($name);
$name =~ s/%20/+/g;
return $name;