summaryrefslogtreecommitdiff
path: root/program/steps/error.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/error.inc')
-rw-r--r--program/steps/error.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/error.inc b/program/steps/error.inc
index aa8036afe..2d87a9da4 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -53,7 +53,7 @@ else if ($ERROR_CODE==401)
else if ($ERROR_CODE==404)
{
$__error_title = "REQUEST FAILED/FILE NOT FOUND";
- $request_url = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
+ $request_url = htmlentities($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
$__error_text = <<<EOF
The requested page was not found!<br />
Please contact your server-administrator.