]> git.deb.at Git - deb/packages.git/blobdiff - lib/Packages/Dispatcher.pm
Packages::Dispatcher: Handle escaped characters in PATH_INFO correctly
[deb/packages.git] / lib / Packages / Dispatcher.pm
index 7973d0d93385771160265dee54d6b77c8577c932..64790c137041b743f387bdd4ab4a46ad9100b64c 100755 (executable)
@@ -226,8 +226,9 @@ sub do_dispatch {
        } # else if (@components == 1)
 
        if (@components) {
-           $input->param( 'keywords', $components[0] );
-           $input->param( 'package', $components[0] );
+           my $c = uri_unescape($components[0]);
+           $input->param( 'keywords', $c );
+           $input->param( 'package', $c );
        }
     }