Skip to content
Snippets Groups Projects
Commit e6a2f88f authored by Christian Eßl's avatar Christian Eßl Committed by Andreas Fernandez
Browse files

[BUGFIX] Make the $target parameter for addSecurityRelValues nullable

In the typoLink() function of ContentObjectRenderer, not all links will
have a 'target' value. - If the protocol is not natively supported by
TYPO3, as in "tel:", only a 'url' parameter will be resolved.
For that reason, make the $target parameter of addSecurityRelValues()
nullable to avoid frontend errors when using custom link protocols.

Resolves: #89338
Releases: master
Change-Id: I6bca872e38e2f5618a5c06a5ebd3476beb2e60a0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61879


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 226ac97e
Branches
Tags
No related merge requests found
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