]> git.deb.at Git - deb/packages.git/blobdiff - lib/Packages/Dispatcher.pm
Merge commit 'c82c758c851618e8bd68b858c432151f63ba6e0f' into debian-master
[deb/packages.git] / lib / Packages / Dispatcher.pm
index 221bfbec8234eccc5790b6579c18464e1a1f0bf9..903c7778f267dc108d4d0ffb69af26b1b7fb994b 100755 (executable)
@@ -139,7 +139,7 @@ sub do_dispatch {
 
     my $what_to_do = 'show';
     my $source = 0;
-    if (my $path = $input->path_info() || $input->param('PATH_INFO')) {
+    if (my $path = $ENV{'PATH_INFO'} || $input->param('PATH_INFO')) {
        my @components = grep { $_ } map { lc $_ } split /\/+/, $path;
 
        debug( "PATH_INFO=$path components=@components", 3) if DEBUG;