Bug #100210
closedTypolinkViewHelper will crash when using integer in additionalAttributes
100%
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
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78158
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78158
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78158
Updated by Benjamin Serfhos over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a8e0f47a2e22c0524d3781294c2ed2bdc4d8a12f.