summaryrefslogtreecommitdiffstats
path: root/modules/getid3/module.archive.gzip.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/getid3/module.archive.gzip.php')
-rw-r--r--modules/getid3/module.archive.gzip.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/getid3/module.archive.gzip.php b/modules/getid3/module.archive.gzip.php
index f8818df5..182351f9 100644
--- a/modules/getid3/module.archive.gzip.php
+++ b/modules/getid3/module.archive.gzip.php
@@ -140,8 +140,9 @@ class getid3_gzip extends getid3_handler {
//|...original file name, zero-terminated...|
//+=========================================+
// GZIP files may have only one file, with no filename, so assume original filename is current filename without .gz
- $thisInfo['filename'] = preg_replace('#\.gz$#i', '', $info['filename']);
+ $thisInfo['filename'] = preg_replace('#\\.gz$#i', '', $info['filename']);
if ($thisInfo['flags']['filename']) {
+ $thisInfo['filename'] = '';
while (true) {
if (ord($buff[$fpointer]) == 0) {
$fpointer++;