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 | |
parent | 0b89aede6f81df6927f75988939361fe88fc97f1 (diff) | |
download | urpmi-proxy-0.3.2.tar urpmi-proxy-0.3.2.tar.gz urpmi-proxy-0.3.2.tar.bz2 urpmi-proxy-0.3.2.tar.xz urpmi-proxy-0.3.2.zip |
Fix handling of pathless requests0.3.2
-rw-r--r-- | VERSION | 2 | ||||
-rwxr-xr-x | urpmi-proxy.cgi | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -0.3.1 +0.3.2 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 = ""; |