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 a21ab6a commit 75a5f70Copy full SHA for 75a5f70
lib/internal/Magento/Framework/Archive/Zip.php
@@ -74,7 +74,7 @@ public function unpack($source, $destination)
74
* @param string $path
75
* @return string
76
*/
77
- private function filterRelativePaths(string $path)
+ private function filterRelativePaths(string $path): string
78
{
79
if ($path && preg_match('#^\s*(../)|(/../)#i', $path)) {
80
$path = '';
0 commit comments