Commit 735693ab authored by Henri Nathanson's avatar Henri Nathanson Committed by Benni Mack
Browse files

[BUGFIX] Fix local path discovery for external files in indexed_search

This fixes encoding issues in paths with URL-encoded spaces and other
characters when indexed_search translates indexable file URLs into local

Resolves: #91586
Releases: master, 10.4, 9.5
Change-Id: Id20034137556f5705ee34b3adcca6250c77d83f2

Tested-by: Jonas Eberle's avatarJonas Eberle <>
Tested-by: default avatarTYPO3com <>
Tested-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Jonas Eberle's avatarJonas Eberle <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
parent fcd58d3c
......@@ -627,7 +627,7 @@ class Indexer
$hyperLinksData[] = [
'tag' => $tagData,
'href' => $tagAttributes[0]['href'],
'localPath' => $this->createLocalPath($tagAttributes[0]['href'])
'localPath' => $this->createLocalPath(urldecode($tagAttributes[0]['href']))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment