From cdbc501c93118eca4d1885ccc1598ee1863abd88 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 22 May 2009 04:29:25 +0000 Subject: [PATCH] MINOR Escaped characters in DebugView::writeHeader() debug page title using htmlentities() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77626 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- dev/DebugView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/DebugView.php b/dev/DebugView.php index f225340b8..fe1319177 100644 --- a/dev/DebugView.php +++ b/dev/DebugView.php @@ -69,7 +69,7 @@ class DebugView { * Render HTML header for development views */ public function writeHeader() { - echo ''. $_SERVER['REQUEST_METHOD'] . ' ' .$_SERVER['REQUEST_URI'] .''; + echo '' . htmlentities($_SERVER['REQUEST_METHOD'] . ' ' . $_SERVER['REQUEST_URI']) . ''; echo '