Issue Bug Closed

#101727Search result icon has invalid path in composer based installations

Thorben Nissen 08/22/23, 09:14 updated 07/09/24, 15:19

Description

By default indexed search generates an icon for the search result by getting the absolute icon path and then clipping of the path site prefix, which leads to a path like `typo3/cms-indexed-search/Resources/Public/Icons/FileTypes/pages.gif` where it instead should be `/_assets/…./Icons/FileTypes/pages.gif`.

The relevant code is in `Classes/Controller/SearchController.php::693-716`.

Reviews 3