summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index a9f50af4f..d09bc323b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1874,10 +1874,10 @@ sub ask_url {
$in->ask_from_({ messages => N("URL of the mirror?"), focus_first => 1 }, [
{ val => \$url,
validate => sub {
- if ($url =~ m!^(http|ftp)://!) {
+ if ($url =~ m!^(https?|ftp)://!) {
1;
} else {
- $in->ask_warn('', N("URL must start with ftp:// or http://"));
+ $in->ask_warn('', N("URL must start with ftp:// or http:// or https://"));
0;
}
} } ]) && $url;