[BUGFIX] Double escape of title in indexed search 49/27849/3
authorMarkus Klein <klein.t3@mfc-linz.at>
Tue, 25 Feb 2014 17:08:56 +0000 (18:08 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 3 Mar 2014 18:45:28 +0000 (19:45 +0100)
commit5d9b26d9a059f46bd8e27b3252eb3dc604fc7b55
tree76dd59d859a8caa339bf40d60bfd1744fa3ae650
parentda36a43db93c917f3af203c20af3ce977ba33c4f
[BUGFIX] Double escape of title in indexed search

SearchController::compileSingleResultRow() causes double
htmlspecialchars() call on $title.

This patch removes the general htmlspecialchars() call since
$title will be escaped in linkPage() anyway.
The only place which requires escaping has the call added now.

Resolves: #56262
Releases: 6.2, 6.1, 6.0
Change-Id: Ic94fe7fe7d2145fc539adcdf21faf42c33f5b32e
Reviewed-on: https://review.typo3.org/27849
Reviewed-by: Stefan Neufeind
Reviewed-by: Dragan Tomic
Tested-by: Dragan Tomic
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/indexed_search/Classes/Controller/SearchController.php