From d93f0433ee61519f165730b493c8d69e95f88114 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 13 Apr 2008 20:03:09 +0000 Subject: [PATCH] Be sure that the text is escaped --- includes/LogPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/LogPage.php b/includes/LogPage.php index fa21f02913..0dcb1f2bf1 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -158,7 +158,7 @@ class LogPage { switch( $type ) { case 'move': - $titleLink = $skin->makeLinkObj( $title, $title->getPrefixedText(), 'redirect=no' ); + $titleLink = $skin->makeLinkObj( $title, htmlspecialchars( $title->getPrefixedText() ), 'redirect=no' ); $params[0] = $skin->makeLinkObj( Title::newFromText( $params[0] ), htmlspecialchars( $params[0] ) ); break; case 'block': -- 2.20.1