r95388 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95387‎ | r95388 | r95389 >
Date:09:39, 24 August 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r95387
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
@@ -156,7 +156,7 @@
157157 self::$enableImagesURL = $wgRequest->escapeAppendQuery( 'enableImages=1' );
158158 self::$disableMobileSiteURL = $wgRequest->escapeAppendQuery( 'mobileaction=disable_mobile_site' );
159159 self::$viewNormalSiteURL = $wgRequest->escapeAppendQuery( 'mobileaction=view_normal_site' );
160 - self::$currentURL = $wgRequest->getFullRequestURL();
 160+ self::$currentURL = htmlspecialchars( $wgRequest->getFullRequestURL() );
161161
162162 $skin = $wgUser->getSkin();
163163 $copyright = $skin->getCopyright();
Property changes on: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
___________________________________________________________________
Modified: svn:mergeinfo
164164 Merged /trunk/extensions/MobileFrontend/MobileFrontend.php:r95387

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95387Followup r95316, r95317 per CR: escape the URL before using it in HTML. It do...catrope09:38, 24 August 2011

Status & tagging log