Skip to content
Snippets Groups Projects
Commit 361cd30c authored by Stefan Bürk's avatar Stefan Bürk Committed by Benni Mack
Browse files

[BUGFIX] Avoid calling parse_url(null) in DatabaseRecordList

DatabaseRecordList::renderListRow() calls linkUrlMail() with
eventually null as second argument, thus invoking parse_url(null)
which emits a E_DEPRECATED PHP 8.1 error.

The patch sanitizes call in renderListRow(), adds type casts
in linkUrlMail() and a @todo to change signature in v12.

Resolves: #95937
Releases: master
Change-Id: I78c0498cf5e2aa8de70576300a616ef1328d6f66
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72134


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent a77817e4
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