summaryrefslogtreecommitdiffstats
path: root/perl-install/install/http.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-07-02 12:24:09 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-07-02 12:24:09 +0000
commit7c6ee5858f54858b7fdd83fc1f6eef5dee8f549b (patch)
tree99f1f70e5e9f8853e00165e272d428e3065e3ed1 /perl-install/install/http.pm
parentf63cc59b9a87e8eceecaaffb7b38013ca09892ec (diff)
downloaddrakx-7c6ee5858f54858b7fdd83fc1f6eef5dee8f549b.tar
drakx-7c6ee5858f54858b7fdd83fc1f6eef5dee8f549b.tar.gz
drakx-7c6ee5858f54858b7fdd83fc1f6eef5dee8f549b.tar.bz2
drakx-7c6ee5858f54858b7fdd83fc1f6eef5dee8f549b.tar.xz
drakx-7c6ee5858f54858b7fdd83fc1f6eef5dee8f549b.zip
accept https URL in install::http
Diffstat (limited to 'perl-install/install/http.pm')
-rw-r--r--perl-install/install/http.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/http.pm b/perl-install/install/http.pm
index caea04c3d..cf6c78f69 100644
--- a/perl-install/install/http.pm
+++ b/perl-install/install/http.pm
@@ -16,7 +16,7 @@ sub getFile {
sub parse_http_url {
my ($url) = @_;
- $url =~ m,^(?:http|ftp)://(?:[^:/]+:[^:/]+\@)?([^/:@]+)(?::(\d+))?(/\S*)?$,;
+ $url =~ m,^(?:https?|ftp)://(?:[^:/]+:[^:/]+\@)?([^/:@]+)(?::(\d+))?(/\S*)?$,;
}
sub get_file_and_size_ {