Skip to content
Snippets Groups Projects
Commit 377bdaae authored by Oliver Hader's avatar Oliver Hader Committed by Susanne Moog
Browse files

[BUGFIX] Do not rawurlencode record titles using label_alt and type=group

Do not rawurlencode the label_alt part references of record titles if
they are of type=group as this leads to duplicate encoding.

Resolves: #78995
Releases: 7.6
Change-Id: I9a445745415080856adfbf51c4a87820a8e77375
Reviewed-on: https://review.typo3.org/54483


Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
parent 374c3e96
Branches
Tags
No related merge requests found
...@@ -262,7 +262,9 @@ class TcaRecordTitle implements FormDataProviderInterface ...@@ -262,7 +262,9 @@ class TcaRecordTitle implements FormDataProviderInterface
} }
$labelParts = array_map( $labelParts = array_map(
function ($rawLabelItem) { function ($rawLabelItem) {
return array_pop(GeneralUtility::trimExplode('|', $rawLabelItem, true, 2)); return rawurldecode(
array_pop(GeneralUtility::trimExplode('|', $rawLabelItem, true, 2))
);
}, },
GeneralUtility::trimExplode(',', $value, true) GeneralUtility::trimExplode(',', $value, true)
); );
......
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