From: Niklas Laxström Date: Wed, 17 Jan 2007 23:44:43 +0000 (+0000) Subject: * Escape page title X-Git-Tag: 1.31.0-rc.0~54320 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=eed9a3aa46828bf6b730c8a7f46f1fc21ce4592e;p=lhc%2Fweb%2Fwiklou.git * Escape page title --- diff --git a/includes/User.php b/includes/User.php index ad4e61815c..5fc15868b6 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2478,7 +2478,7 @@ class User { if( $title ) { global $wgUser; $sk = $wgUser->getSkin(); - return $sk->makeLinkObj( $title, $text ); + return $sk->makeLinkObj( $title, htmlspecialchars( $text ) ); } else { return $text; }