We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e4452 commit 2c2beb8Copy full SHA for 2c2beb8
lib/Zend/Filter/Compress/Zip.php
@@ -237,7 +237,7 @@ public function decompress($content)
237
for ($i = 0; $i < $zip->numFiles; $i++) {
238
$statIndex = $zip->statIndex($i);
239
$currName = $statIndex['name'];
240
- if (($currName{0} == '/') ||
+ if (($currName[0] == '/') ||
241
(substr($currName, 0, 2) == '..') ||
242
(substr($currName, 0, 4) == './..')
243
)
0 commit comments