diff options
author | Eric Wong <e@80x24.org> | 2014-04-12 00:52:40 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-12 00:52:57 +0000 |
commit | c4e1a5af31e924077568823ef83d00d1462f5f12 (patch) | |
tree | a1a67ad66da2a4d33fabf9825b281b45c6554301 /public-inbox.cgi | |
parent | c394de9f2c91c2c5ed1f7832a5a7cc0206120b7f (diff) | |
download | public-inbox-c4e1a5af31e924077568823ef83d00d1462f5f12.tar.gz |
This might make it easier to go to non-CGI things.
Diffstat (limited to 'public-inbox.cgi')
-rwxr-xr-x | public-inbox.cgi | 2 |
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 "/") { |