Actions
Bug #100210
closedTypolinkViewHelper will crash when using integer in additionalAttributes
Start date:
2023-03-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
When using integer in additional attributes the declare(strict_types=1); now crashes on htmlspecialchars()
<f:link.typolink .. additionalAttributes="{tabindex: '-1'}"></f:link.typolink
The array is parsed to -1 integer and crashes with the message: htmlspecialchars(): Argument #1 ($string) must be of type string, int given
Actions