[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:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
Please register or sign in to comment