Make character escaping consistent

This commit is contained in:
2011-12-20 01:43:35 +00:00
parent 86b187800f
commit fcea8eec59
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
$main = StatusBoard_Main::instance();
$req = $main->request();
$this->smarty->assign('requested_page', htmlspecialchars($req->request_string()));
$this->smarty->assign('requested_page', $req->request_string());
?>

View File

@@ -1,6 +1,6 @@
<h2>The requested page could not be found</h2>
<p>
The file you requested ({$requested_page}) could not be found.
The file you requested ({$requested_page|escape:html}) could not be found.
If you typed in the address manually, check that you have spelled it correctly,
or if you followed a link, let us know and we'll look into it.
</p>