cvs: phpweb /error index.php

From: Date: Fri, 31 Aug 2001 08:01:10 +0000
Subject: cvs: phpweb /error index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6213@lists.php.net to get a copy of this message
jimw Fri Aug 31 04:01:10 2001 EDT Modified files: /phpweb/error index.php Log: use htmlspecialchars when displaying uri that triggered a 404, too. Index: phpweb/error/index.php diff -u phpweb/error/index.php:1.29 phpweb/error/index.php:1.30 --- phpweb/error/index.php:1.29 Mon Aug 27 19:28:47 2001 +++ phpweb/error/index.php Fri Aug 31 04:01:10 2001 @@ -6,8 +6,8 @@ global $REQUEST_URI; header('HTTP/1.0 404 Not Found'); commonHeader('404 Not Found'); - echo "<H1>Not Found</H1>\n"; - echo "<P>The page <B>" . $REQUEST_URI . "</B> could not be found.</P>\n"; + echo "<h1>Not Found</h1>\n"; + echo "<p>the page <b>" . htmlspecialchars($request_uri) . "</b> could not be found.</p>\n"; commonFooter(); }

« previous php.mirrors (#6213) next »