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 3ca5a8f commit 0d6720eCopy full SHA for 0d6720e
app/code/Magento/RemoteStorage/Driver/Adapter/PathUtil.php
@@ -25,8 +25,8 @@ public function pathInfo($path)
25
if ('' !== $dirname) {
26
$pathInfo['dirname'] = $dirname === '.' ? '' : $dirname;
27
}
28
- $pathInfo['basename'] = $this->basename($path);
29
- $pathInfo += pathinfo($pathInfo['basename']);
+ $pathInfo += pathinfo($this->basename($path));
+ $pathInfo['basename'] = $pathInfo['filename'];
30
return $pathInfo + ['dirname' => ''];
31
32
0 commit comments