aboutsummaryrefslogtreecommitdiffstats
path: root/web/rss.cgi
diff options
context:
space:
mode:
authormatthew <matthew>2008-09-19 10:24:55 +0000
committermatthew <matthew>2008-09-19 10:24:55 +0000
commit6708e7dd9b259207c613bb08b693d0ee5a1f2f0d (patch)
tree35d6c887c93a4a76e47400fa158dd35b58c32273 /web/rss.cgi
parent2b7fa24af368a4b66893fa5a26ff849807f5d427 (diff)
Nicer URLs for reports.
Diffstat (limited to 'web/rss.cgi')
-rwxr-xr-xweb/rss.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/rss.cgi b/web/rss.cgi
index 39c2c89cb..3cdbb0355 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: rss.cgi,v 1.22 2008-09-01 17:17:58 matthew Exp $
+# $Id: rss.cgi,v 1.23 2008-09-19 10:24:55 matthew Exp $
use strict;
use Standard;
@@ -24,7 +24,7 @@ sub main {
$out = rss_local_problems($q);
} elsif ($type eq 'new_updates') {
my $id = $q->param('id');
- my $qs = '?id='.$id;
+ my $qs = 'report/' . $id;
$out = mySociety::Alert::generate_rss($type, $qs, [$id]);
} elsif ($type eq 'new_problems' || $type eq 'new_fixed_problems') {
$out = mySociety::Alert::generate_rss($type, '');