diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/DefaultSettings.php | 2 | ||||
-rw-r--r-- | includes/actions/InfoAction.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index c0228282..32ad2db3 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -63,7 +63,7 @@ $wgConf = new SiteConfiguration; * MediaWiki version number * @since 1.2 */ -$wgVersion = '1.22.5'; +$wgVersion = '1.22.6'; /** * Name of the site. It must be changed in LocalSettings.php diff --git a/includes/actions/InfoAction.php b/includes/actions/InfoAction.php index 7fc90339..0a16f4a8 100644 --- a/includes/actions/InfoAction.php +++ b/includes/actions/InfoAction.php @@ -261,6 +261,7 @@ class InfoAction extends FormlessAction { $sortKey = $pageProperties['defaultsort']; } + $sortKey = htmlspecialchars( $sortKey ); $pageInfo['header-basic'][] = array( $this->msg( 'pageinfo-default-sort' ), $sortKey ); // Page length (in bytes) |