summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 9f5fb34c1..4b9360045 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -336,7 +336,7 @@ sub getFile_ {
sub get_file_and_size {
my ($phys_m, $f) = @_;
- if ($f =~ m|^http://|) {
+ if ($f =~ m|^https?://|) {
require install::http;
install::http::get_file_and_size($f);
} elsif (member($phys_m->{method}, qw(ftp http))) {