diff --git a/typo3/sysext/indexed_search/Classes/Controller/SearchController.php b/typo3/sysext/indexed_search/Classes/Controller/SearchController.php index 93bb34f39d5aef03c3d4a7a827191dfc59f105fa..3a11d4e031e56cb492dc07f27c902c4984d99ef8 100644 --- a/typo3/sysext/indexed_search/Classes/Controller/SearchController.php +++ b/typo3/sysext/indexed_search/Classes/Controller/SearchController.php @@ -716,7 +716,7 @@ class SearchController extends ActionController $fullPath = GeneralUtility::getFileAbsFileName($icon); if ($fullPath) { $imageInfo = GeneralUtility::makeInstance(ImageInfo::class, $fullPath); - $iconPath = PathUtility::stripPathSitePrefix($fullPath); + $iconPath = PathUtility::getAbsoluteWebPath($fullPath); $this->iconFileNameCache[$imageType] = $imageInfo->getWidth() ? '<img src="' . $iconPath . '" width="' . $imageInfo->getWidth()