SpecialListgrouprights: Escape namespace text
authorFomafix <fomafix@googlemail.com>
Mon, 18 Jan 2016 15:30:48 +0000 (15:30 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Mon, 18 Jan 2016 15:30:48 +0000 (15:30 +0000)
This also escapes the message 'blanknamespace'.

Change-Id: I821b8c191c92a757a0349c9def49c7506f68e70e

includes/specials/SpecialListgrouprights.php

index 382b03f..241db93 100644 (file)
@@ -185,7 +185,7 @@ class SpecialListGroupRights extends SpecialPage {
                                        array(),
                                        Linker::link(
                                                SpecialPage::getTitleFor( 'Allpages' ),
-                                               $namespaceText,
+                                               htmlspecialchars( $namespaceText ),
                                                array(),
                                                array( 'namespace' => $namespace )
                                        )