aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Parkes <duncan@fury.ukcod.org.uk>2011-02-18 14:56:12 +0000
committerDuncan Parkes <duncan@fury.ukcod.org.uk>2011-02-18 14:56:12 +0000
commita8086ec572b09d119e60625e13097bcaedc7899a (patch)
tree7013540f282d76666f96c5ce1063fdbb94134223
parent39d0d25d29def55bf2499da20cf291d3a020c962 (diff)
Don't redirect on postcode rss request.
Let's stick to a url with the postcode in it - much nicer for the user!
-rwxr-xr-xweb/rss.cgi5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/rss.cgi b/web/rss.cgi
index 43c5b82b9..5ceac7070 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -104,9 +104,10 @@ sub rss_local_problems {
};
unless ($error) {
( $lat, $lon ) = map { Utils::truncate_coordinate($_) } ( $lat, $lon );
- print $q->redirect(-location => "$base/rss/l/$lat,$lon$d_str$state_qs");
+# print $q->redirect(-location => "$base/rss/l/$lat,$lon$d_str$state_qs");
}
- return '';
+# return '';
+ # pass through rather than redirecting.
} elsif ( $lat || $lon ) {
# pass through
} else {