From: Alexandre Emsenhuber Date: Sun, 13 Apr 2008 20:03:09 +0000 (+0000) Subject: Be sure that the text is escaped X-Git-Tag: 1.31.0-rc.0~48358 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=d93f0433ee61519f165730b493c8d69e95f88114;p=lhc%2Fweb%2Fwiklou.git Be sure that the text is escaped --- 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':