summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 0b23d8a99..eb174f8cb 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -505,6 +505,7 @@ sub selectSupplMedia {
and $global_ftp_prefix = [ $3, $4, $1, $2 ]; #- for getFile
} else {
$url = $o->ask_from_entry('', N("URL of the mirror?")) or return 'error';
+ $url =~ s!/+\z!!;
}
useMedium($medium_name);
require http if $suppl_method eq 'http';