diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index f94756cdd..934e7aa09 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -838,7 +838,7 @@ sub generate_automatic_stage1_params { my @ks = "method:$o->{method}"; if ($o->{method} =~ /http/) { - "$ENV{URLPREFIX}" =~ m|http://(.*)/(.*)| or die; + "$ENV{URLPREFIX}" =~ m|http://([^/:]+)/(.*)| or die; push @ks, "server:$1", "directory:$2"; } elsif ($o->{method} =~ /ftp/) { push @ks, "server:$ENV{HOST}", "directory:$ENV{PREFIX}", "user:$ENV{LOGIN}", "pass:$ENV{PASSWORD}"; |