Skip to content
Snippets Groups Projects
Commit ce4e8b2d authored by Stephan Großberndt's avatar Stephan Großberndt Committed by Alexander Opitz
Browse files

[FOLLOWUP][BUGFIX] Add missing htmlspecialchars() and cleanup in DebuggerUtility

Add missing htmlspecialchars() calls in
EXT:extbase/Classes/Utility/DebuggerUtility.php and cleanup indents in
collections.

Resolves: #83450
Related: #83356
Releases: master
Change-Id: I85a82b7c88e91173485938e95436bad8677694c6
Reviewed-on: https://review.typo3.org/55242


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAlexander Opitz <opitz.alexander@googlemail.com>
Tested-by: default avatarAlexander Opitz <opitz.alexander@googlemail.com>
parent d56e4a51
Branches
Tags
No related merge requests found
......@@ -464,8 +464,9 @@ class DebuggerUtility
{
$dump = '';
foreach ($collection as $key => $value) {
$dump .= PHP_EOL . str_repeat(self::PLAINTEXT_INDENT, $level);
if ($plainText) {
$dump .= PHP_EOL . str_repeat(self::PLAINTEXT_INDENT, $level) . self::ansiEscapeWrap($key, '37', $ansiColors);
$dump .= self::ansiEscapeWrap($key, '37', $ansiColors);
} else {
$dump .= '<span class="extbase-debug-property">' . htmlspecialchars($key) . '</span>';
}
......
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