fix xss
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Mon, 30 Jan 2012 12:24:24 +0000 (12:24 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Mon, 30 Jan 2012 12:24:24 +0000 (12:24 +0000)
includes/Action.php
includes/actions/CreditsAction.php
includes/actions/WatchAction.php

index 2dcdf78..a5bcb05 100644 (file)
@@ -328,7 +328,7 @@ abstract class Action {
         * @return String
         */
        protected function getDescription() {
-               return wfMsg( strtolower( $this->getName() ) );
+               return wfMsgHtml( strtolower( $this->getName() ) );
        }
 
        /**
index 3b2f77e..1072d25 100644 (file)
@@ -30,7 +30,7 @@ class CreditsAction extends FormlessAction {
        }
 
        protected function getDescription() {
-               return wfMsg( 'creditspage' );
+               return wfMsgHtml( 'creditspage' );
        }
 
        /**
index 5cd2ce7..e8ae3b6 100644 (file)
@@ -31,7 +31,7 @@ class WatchAction extends FormAction {
        }
 
        protected function getDescription() {
-               return wfMsg( 'addwatch' );
+               return wfMsgHtml( 'addwatch' );
        }
 
        /**