htmlspecialchars
authorJimmy Collins <collinj@users.mediawiki.org>
Sat, 7 Oct 2006 16:28:46 +0000 (16:28 +0000)
committerJimmy Collins <collinj@users.mediawiki.org>
Sat, 7 Oct 2006 16:28:46 +0000 (16:28 +0000)
includes/SpecialRecentchanges.php

index a85e194..8dfb68a 100644 (file)
@@ -481,7 +481,7 @@ function makeOptionsLink( $title, $override, $options ) {
        global $wgUser, $wgContLang;
        $sk = $wgUser->getSkin();
        return $sk->makeKnownLink( $wgContLang->specialPage( 'Recentchanges' ),
-               $title, wfArrayToCGI( $override, $options ) );
+               htmlspecialchars( $title ), wfArrayToCGI( $override, $options ) );
 }
 
 /**