Issue Bug Closed

#98108Regression with nested parameter for typolink

Tomek W 08/09/22, 16:07 updated 10/04/22, 14:18

Description

Typolink change in https://review.typo3.org/c/Packages/TYPO3.CMS/+/74576

introduced a regression when handling nested parameter for typolink

for example:

‘parameter.’ => [
‘cObject’ => ‘TEXT’,
‘cObject.’ => [
‘value’ => ‘https://typo3.com _blank some-class test-title’ // or fetch data from some field in TYPO3 CE etc
],
]

Result is instead of href=“https://typo3.com”, whole typolink will be returned i.e. href=“https://typo3.com _blank some-class test-title“
Same result when you would like use resultLast options “url” or “result”.
Typolink is not properly parsed due to double quoting around typolink, therefore breaking parser of typolink.

Reviews 1