diff options
author | matthew <matthew> | 2008-05-29 11:03:35 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-05-29 11:03:35 +0000 |
commit | 1368286a0e5769d69897bd304af9b1a0b3df4d0c (patch) | |
tree | c25d85d80cda2655a41d13c93f5c45bf5f608404 | |
parent | fa912155c619e877df3fb2190b91f80234c8cb7d (diff) |
Workaround old bad URL.
-rwxr-xr-x | web/index.cgi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi index 14f2ad94a..56824ca98 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.199 2008-05-23 09:53:10 matthew Exp $ +# $Id: index.cgi,v 1.200 2008-05-29 11:03:35 matthew Exp $ use strict; use Standard; @@ -656,6 +656,10 @@ sub display_location { my($error, $easting, $northing); my $x = $input{x}; my $y = $input{y}; + if ($y =~ /favicon/) { + $q->header('Location: http://www.fixmystreet.com/favicon.ico'); + return ''; + } $x ||= 0; $x += 0; $y ||= 0; $y += 0; return front_page($q, @errors) unless $x || $y || $input{pc}; |