diff options
-rwxr-xr-x | web/reports.cgi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/web/reports.cgi b/web/reports.cgi index c215171ab..465ae0f26 100755 --- a/web/reports.cgi +++ b/web/reports.cgi @@ -7,7 +7,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: reports.cgi,v 1.31 2009-05-27 15:54:00 matthew Exp $ +# $Id: reports.cgi,v 1.32 2009-07-22 19:44:19 matthew Exp $ use strict; use Standard; @@ -28,6 +28,12 @@ sub main { $q_council = 2260 if $q->{site} eq 'scambs'; + # Manual misspelling redirect + if ($q_council =~ /^rhondda cynon taff$/i) { + print $q->redirect('/reports/Rhondda+Cynon+Taf'); + return; + } + my ($one_council, $area_type, $area_name); if ($q_council =~ /\D/) { (my $qc = $q_council) =~ s/ and / & /; |