about summary refs log tree commit homepage
path: root/public-inbox.cgi
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-12 00:52:40 +0000
committerEric Wong <e@80x24.org>2014-04-12 00:52:57 +0000
commitc4e1a5af31e924077568823ef83d00d1462f5f12 (patch)
treea1a67ad66da2a4d33fabf9825b281b45c6554301 /public-inbox.cgi
parentc394de9f2c91c2c5ed1f7832a5a7cc0206120b7f (diff)
downloadpublic-inbox-c4e1a5af31e924077568823ef83d00d1462f5f12.tar.gz
This might make it easier to go to non-CGI things.
Diffstat (limited to 'public-inbox.cgi')
-rwxr-xr-xpublic-inbox.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/public-inbox.cgi b/public-inbox.cgi
index fb435777..313a4f22 100755
--- a/public-inbox.cgi
+++ b/public-inbox.cgi
@@ -50,7 +50,7 @@ sub main {
         if ($cgi->request_method !~ /\AGET|HEAD\z/) {
                 return r("405 Method Not Allowed");
         }
-        my $path_info = decode_utf8($ENV{PATH_INFO});
+        my $path_info = decode_utf8($cgi->path_info);
 
         # top-level indices and feeds
         if ($path_info eq "/") {