Errant escaping of titles
authorRob Church <robchurch@users.mediawiki.org>
Mon, 6 Aug 2007 07:14:29 +0000 (07:14 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Mon, 6 Aug 2007 07:14:29 +0000 (07:14 +0000)
includes/LogPage.php

index 38f4fa2..8982b59 100644 (file)
@@ -155,7 +155,7 @@ class LogPage {
                                        switch( $type ) {
                                                case 'move':
                                                        $titleLink = $skin->makeLinkObj( $title, $title->getPrefixedText(), 'redirect=no' );
-                                                       $params[0] = $skin->makeLinkObj( Title::newFromText( $params[0] ), $params[0] );
+                                                       $params[0] = $skin->makeLinkObj( Title::newFromText( $params[0] ), htmlspecialchars( $params[0] ) );
                                                        break;
                                                case 'block':
                                                        if( substr( $title->getText(), 0, 1 ) == '#' ) {