diff --git a/app/Views/errors/html/error_exception.php b/app/Views/errors/html/error_exception.php index fc7d32fd2e7b..43a916c4bf95 100644 --- a/app/Views/errors/html/error_exception.php +++ b/app/Views/errors/html/error_exception.php @@ -5,7 +5,7 @@ -
- = $exception->getMessage() ?> + = esc($exception->getMessage()) ?> getMessage())) ?>" rel="noreferrer" target="_blank">search →
@@ -30,7 +30,7 @@= static::cleanPath($file, $line) ?> at line = $line ?>
+= esc(static::cleanPath($file, $line)) ?> at line = esc($line) ?>
= htmlspecialchars(isset($params[$key]) ? '$' . $params[$key]->name : "#$key", ENT_SUBSTITUTE, 'UTF-8') ?> |
- = htmlspecialchars(print_r($value, true), ENT_SUBSTITUTE, 'UTF-8') ?> |
+ = esc(isset($params[$key]) ? '$' . $params[$key]->name : "#$key") ?> |
+ = esc(print_r($value, true)) ?> |
= htmlspecialchars($key, ENT_IGNORE, 'UTF-8') ?> | += esc($key) ?> |
- = htmlspecialchars($value, ENT_SUBSTITUTE, 'UTF-8') ?>
+ = esc($value) ?>
- = htmlspecialchars(print_r($value, true), ENT_SUBSTITUTE, 'UTF-8') ?>+ = esc(print_r($value, true)) ?> |
= htmlspecialchars($key, ENT_IGNORE, 'UTF-8') ?> | += esc($key) ?> |
- = htmlspecialchars($value, ENT_SUBSTITUTE, 'UTF-8') ?>
+ = esc($value) ?>
- = htmlspecialchars(print_r($value, true), ENT_SUBSTITUTE, 'UTF-8') ?>+ = esc(print_r($value, true)) ?> |
Path | -= $request->uri ?> | += esc($request->uri) ?> |
HTTP Method | -= $request->getMethod(true) ?> | += esc($request->getMethod(true)) ?> |
IP Address | -= $request->getIPAddress() ?> | += esc($request->getIPAddress()) ?> |
Is AJAX Request? | @@ -223,7 +223,7 @@||
User Agent | -= $request->getUserAgent()->getAgentString() ?> | += esc($request->getUserAgent()->getAgentString()) ?> |
= htmlspecialchars($key, ENT_IGNORE, 'UTF-8') ?> | += esc($key) ?> |
- = htmlspecialchars($value, ENT_SUBSTITUTE, 'UTF-8') ?>
+ = esc($value) ?>
- = htmlspecialchars(print_r($value, true), ENT_SUBSTITUTE, 'UTF-8') ?>+ = esc(print_r($value, true)) ?> |
Response Status | -= $response->getStatusCode() . ' - ' . $response->getReason() ?> | += esc($response->getStatusCode() . ' - ' . $response->getReason()) ?> |
- Displayed at = date('H:i:sa') ?> — - PHP: = phpversion() ?> — - CodeIgniter: = \CodeIgniter\CodeIgniter::CI_VERSION ?> + Displayed at = esc(date('H:i:sa')) ?> — + PHP: = esc(phpversion()) ?> — + CodeIgniter: = esc(\CodeIgniter\CodeIgniter::CI_VERSION) ?>