aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 9d2fe45af..89fbca17d 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -939,9 +939,9 @@ sub display_location {
my $rss_url;
if ($pc_h) {
- $rss_url = "/rss/pc/$pc_h";
+ $rss_url = URI::Escape::uri_escape("/rss/pc/$pc_h");
} else {
- $rss_url = "/rss/l/$short_lat,$short_lon";
+ $rss_url = "/rss/l/$short_lat,$short_lon";
}
my %vars = (
@@ -954,10 +954,10 @@ sub display_location {
map_end => FixMyStreet::Map::display_map_end(1),
url_home => Cobrand::url($cobrand, '/', $q),
url_rss => Cobrand::url(
- $cobrand,
- NewURL($q, -retain => 1, -url=> $rss_url,
- pc => undef, x => undef, y => undef, lat=> undef, lon => undef ),
- $q),
+ $cobrand,
+ NewURL($q, -retain => 1, -url=> $rss_url,
+ pc => undef, x => undef, y => undef, lat=> undef, lon => undef ),
+ $q),
url_email => Cobrand::url($cobrand, NewURL($q, -retain => 1, pc => undef, lat => $short_lat, lon => $short_lon, -url=>'/alert', feed=>"local:$short_lat:$short_lon"), $q),
url_skip => $url_skip,
email_me => _('Email me new local problems'),