From 28ad3d966062aac975ac5919b609aa3df477467c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Garc=C3=ADa?= Date: Mon, 21 Feb 2022 20:48:19 +0100 Subject: [PATCH] Fix remote urls pattern --- src/GetID3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GetID3.php b/src/GetID3.php index 8318e5e9..d59e6f2c 100644 --- a/src/GetID3.php +++ b/src/GetID3.php @@ -432,7 +432,7 @@ public function openfile($filename, $filesize=null, $fp=null) { $this->info['php_memory_limit'] = (($this->memory_limit > 0) ? $this->memory_limit : false); // remote files not supported - if (preg_match('#^(ht|f)tp://#', $filename)) { + if (preg_match('#^(ht|f)tp(s)://#', $filename)) { throw new Exception('Remote files are not supported - please copy the file locally first'); }