Skip to content
Snippets Groups Projects
Commit 1d5985b4 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Ensure string in htmlspecialchars()

When select fields with db relations allow pages
records, the DatabaseBrowser tries to render an
icon from the page row. uid of that row may be
an int, which needs to be cast to string to be
fed to htmlspecialchars().

Resolves: #101513
Related: #100819
Releases: main, 12.4, 11.5
Change-Id: I52ee031cb0eb09f41ae8ecb6d7005f03e65de3bd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80285


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