[BUGFIX] Use PHP native htmlspecialchars_decode()
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Classes / Hook / CrawlerHook.php
index e766f69..d41b0ac 100644 (file)
@@ -519,7 +519,7 @@ class CrawlerHook {
                // Traverse links:
                foreach ($list as $count => $linkInfo) {
                        // Decode entities:
-                       $subUrl = GeneralUtility::htmlspecialchars_decode($linkInfo['href']);
+                       $subUrl = htmlspecialchars_decode($linkInfo['href']);
                        $qParts = parse_url($subUrl);
                        if (!$qParts['scheme']) {
                                $relativeUrl = GeneralUtility::resolveBackPath($subUrl);