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 8cdf043 commit 53292d3Copy full SHA for 53292d3
app/code/Magento/CatalogImportExport/Model/Import/Uploader.php
@@ -162,9 +162,9 @@ public function move($fileName, $renameFileOff = false)
162
}
163
164
//only use filename (for URI with query parameters)
165
- $parsedUrl = parse_url($url);
166
- if ($parsedUrl['path']) {
167
- $urlPathValues = explode('/', $parsedUrl['path']);
+ $parsedUrlPath = parse_url($url, PHP_URL_PATH);
+ if ($parsedUrlPath) {
+ $urlPathValues = explode('/', $parsedUrlPath);
168
if (!empty($urlPathValues)) {
169
$fileName = end($urlPathValues);
170
0 commit comments