Epic #65814: Make Indexed search extbase plugin shine
indexed_search pi2 (extbase/fluid plugin): Result titles are double-htmlspecialchared
All links that are generated through Tx_IndexedSearch_Controller_SearchController->linkPage are passed through htmlspecialchars
return '<a href="' . htmlspecialchars($uri) . '"' . $target . '>' . htmlspecialchars($linkText) . '</a>';
But the $linkText is already prepared from the calling methods (because they e.g. generate some links on their own and so need to escape the title).
So the resulting HTML will be like this if there is an & in the page title:
News &amp; Events
Tested on TYPO3 4.7.2
Updated by unkonsorten no-lastname-given over 8 years ago
Seems to be a general problem, also applies to marker based pi class. Verified for TYPO3 v 4.5-4.7
Occurs if plugin.tx_indexedsearch.search.detect_sys_domain_records is set. RealUrl doesn't work in this case, either even when creating links to pages on same domain.