Issue Bug Closed

#72598Indexed_search debug-Link in Crawler

Sec Myth 01/08/16, 14:00 updated 10/02/18, 11:19

Description

In \typo3\sysext\indexed_search\Classes\Hook\CrawlerHook.php the following code includes a debug echo line:

    public function checkDeniedSuburls($url, $url_deny)
    {
        if (trim($url_deny)) {
            $url_denyArray = GeneralUtility::trimExplode(LF, $url_deny, true);
            foreach ($url_denyArray as $testurl) {
                if (GeneralUtility::isFirstPartOfStr($url, $testurl)) {
                    echo $url . ' /// ' . $url_deny . LF;
                    return true;
                }
            }
        }
        return false;
    }

This line can probably be removed.

Reviews 3