Bug #91586
closedindexer misses to urldecode parsed links when checking for files locally
100%
Description
The indexer extracts links from a page with HtmlParser and gets urlencoded() uris, which then are not urldecoded() to work in local storage.
https://github.com/TYPO3-CMS/indexed_search/blob/master/Classes/Indexer.php -> extractHyperLinks()
Solution:
'localPath' => $this->createLocalPath(urldecode($tagAttributes[0]['href']))
Possible additional sources:
https://github.com/AOEpeople/crawler/issues/578
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64772
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64772
Updated by Jonas Eberle over 4 years ago
Affected: 9, 10, master
I created a patch and set you as author. Thank you :)
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64792
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64793
Updated by Anonymous over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 848d06806dea41fb2b2e2083e331dd34376fa0c6.