From b9810b4dd216ffef1307237e5ce6b38c67fc7366 Mon Sep 17 00:00:00 2001 From: juliasaurin Date: Mon, 1 Jul 2024 11:04:59 +0200 Subject: [PATCH] use url instead if baseUrl --- Classes/Feed/Update/BaseUpdater.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/Feed/Update/BaseUpdater.php b/Classes/Feed/Update/BaseUpdater.php index 3f78da1..7ff0d9d 100644 --- a/Classes/Feed/Update/BaseUpdater.php +++ b/Classes/Feed/Update/BaseUpdater.php @@ -207,8 +207,7 @@ protected function downloadImage(string $url, Configuration $configuration): ?Fi $downloadFolder = $storage->getFolder($folderPath); } - $baseUrl = explode('?', basename($url), 2); - $filename = md5($baseUrl[0]); + $filename = md5($url); $file = $downloadFolder->getFile($filename); if ($file == null) {