diff --git a/sources/subs/Package.subs.php b/sources/subs/Package.subs.php index 6aa62e369c..49dea59064 100644 --- a/sources/subs/Package.subs.php +++ b/sources/subs/Package.subs.php @@ -33,7 +33,7 @@ */ function read_tgz_file($gzfilename, $destination, $single_file = false, $overwrite = false, $files_to_extract = null) { - if (substr($gzfilename, 0, 7) == 'http://') + if (substr($gzfilename, 0, 7) == 'http://' || substr($gzfilename, 0, 8) == 'https://') { $data = fetch_web_data($gzfilename);