Skip to content

Commit

Permalink
Fix remote urls pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
vgpastor committed Feb 21, 2022
1 parent ee238d5 commit 28ad3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GetID3.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 28ad3d9

Please sign in to comment.