diff --git a/engine/Shopware/Models/ProductFeed/ProductFeed.php b/engine/Shopware/Models/ProductFeed/ProductFeed.php index d9a1fa288e3..55ca632cad3 100644 --- a/engine/Shopware/Models/ProductFeed/ProductFeed.php +++ b/engine/Shopware/Models/ProductFeed/ProductFeed.php @@ -1143,7 +1143,7 @@ public function sanitizeFilename() $this->fileName = basename($this->fileName); $extension = strtolower(pathinfo($this->fileName, PATHINFO_EXTENSION)); - if (in_array($extension, \Shopware_Controllers_Backend_MediaManager::$fileUploadBlacklist, true)) { + if (!empty($extension) && in_array($extension, \Shopware_Controllers_Backend_MediaManager::$fileUploadBlacklist, true)) { $this->fileName = str_replace('.' . $extension, '.invalid', strtolower($this->fileName)); // To prevent PrePersist event