8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f37f0 commit 5572a68Copy full SHA for 5572a68
src/Symfony/Component/ErrorHandler/Resources/views/logs.html.php
@@ -35,7 +35,7 @@
35
<td>
36
<?= $this->formatLogMessage($log['message'], $log['context']); ?>
37
<?php if ($log['context']) { ?>
38
- <pre class="text-muted prewrap m-t-5"><?= json_encode($log['context'], \JSON_PRETTY_PRINT | \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES); ?></pre>
+ <pre class="text-muted prewrap m-t-5"><?= $this->escape(json_encode($log['context'], \JSON_PRETTY_PRINT | \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES)); ?></pre>
39
<?php } ?>
40
</td>
41
</tr>
0 commit comments