diff --git a/controllers/ManageErrors.php b/controllers/ManageErrors.php index 6e8d41f..6113e04 100644 --- a/controllers/ManageErrors.php +++ b/controllers/ManageErrors.php @@ -47,9 +47,13 @@ class ManageErrors extends HTMLController 'parse' => [ 'type' => 'function', 'data' => function($row) { - return $row['message'] . '
Show debug info' . - '
' . $row['debug_info'] . '
' . - '' . $row['request_uri'] . ''; + return $row['message'] . '
' . + '
Show debug info' . + '
' . htmlspecialchars($row['debug_info']) .
+								'
' . + '' . + htmlspecialchars($row['request_uri']) . ''; } ], 'header' => 'Message / URL',