diff options
Diffstat (limited to 'perl-install/install/http.pm')
-rw-r--r-- | perl-install/install/http.pm | 2 |
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_ { |