diff options
author | Maarten Vanraes <alien@mageia.org> | 2012-03-21 11:55:45 +0000 |
---|---|---|
committer | Maarten Vanraes <alien@mageia.org> | 2012-03-21 11:55:45 +0000 |
commit | 7f94af338f88aeb1226f094d3dddb17486d9349f (patch) | |
tree | ce3799ab8bc9966ec052cf027f36f63bf51dce1c /urpmi-proxy.cgi | |
parent | 0b89aede6f81df6927f75988939361fe88fc97f1 (diff) | |
download | urpmi-proxy-7f94af338f88aeb1226f094d3dddb17486d9349f.tar urpmi-proxy-7f94af338f88aeb1226f094d3dddb17486d9349f.tar.gz urpmi-proxy-7f94af338f88aeb1226f094d3dddb17486d9349f.tar.bz2 urpmi-proxy-7f94af338f88aeb1226f094d3dddb17486d9349f.tar.xz urpmi-proxy-7f94af338f88aeb1226f094d3dddb17486d9349f.zip |
Fix handling of pathless requests0.3.2
Diffstat (limited to 'urpmi-proxy.cgi')
-rwxr-xr-x | urpmi-proxy.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi-proxy.cgi b/urpmi-proxy.cgi index 78b4865..f439100 100755 --- a/urpmi-proxy.cgi +++ b/urpmi-proxy.cgi @@ -52,7 +52,7 @@ my $file = $ENV{PATH_INFO}; return_error(500, 'Server error') if !$file; # split up request -return_error(500, 'Server error') if $file !~ m!^(.+)/([^/]*)$!; +return_error(500, 'Server error') if $file !~ m!^(.*)/([^/]*)$!; my $dest_path = $1; my $filename = $2; my $file_type = ""; |