aboutsummaryrefslogtreecommitdiffstats
path: root/urpmi-proxy.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi-proxy.cgi')
-rwxr-xr-xurpmi-proxy.cgi2
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 = "";