aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-22 15:26:51 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-22 15:26:51 +0000
commite3c8c5d194a7a7dce70152f89c65616c8981c1a3 (patch)
tree281183e4345f8d9a400c4b651140f4055635a375 /web/index.cgi
parent3c97d45cb1a3803e74c43ef3eca3beb4a5d3ed23 (diff)
Couple of URI escaping fixes, plus cope with different versions of LWP returning content/decoded_content.
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 07cb74f6b..b3c31585e 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -12,7 +12,6 @@ use Utils;
use Encode;
use Error qw(:try);
use File::Slurp;
-use LWP::Simple;
use RABX;
use CGI::Carp;
use URI::Escape;
@@ -945,7 +944,7 @@ sub display_location {
my $rss_url;
if ($pc_h) {
- $rss_url = "/rss/pc/" . URI::Escape::uri_escape($pc_h);
+ $rss_url = "/rss/pc/" . URI::Escape::uri_escape_utf8($pc_h);
} else {
$rss_url = "/rss/l/$short_lat,$short_lon";
}