https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112324

Revision: 112324
Author:   jdlrobson
Date:     2012-02-24 14:58:58 +0000 (Fri, 24 Feb 2012)
Log Message:
-----------
follow up escaping based on r112321 c31426

Modified Paths:
--------------
    trunk/extensions/MobileFrontend/templates/SearchTemplate.php

Modified: trunk/extensions/MobileFrontend/templates/SearchTemplate.php
===================================================================
--- trunk/extensions/MobileFrontend/templates/SearchTemplate.php        
2012-02-24 14:47:49 UTC (rev 112323)
+++ trunk/extensions/MobileFrontend/templates/SearchTemplate.php        
2012-02-24 14:58:58 UTC (rev 112324)
@@ -13,7 +13,7 @@
                $randomPageUrl = $this->data['randomPageUrl'];
                $homeButton = 
$this->data['messages']['mobile-frontend-home-button'];
                $randomButton = 
$this->data['messages']['mobile-frontend-random-button'];
-               $clearText = 
$this->data['messages']['mobile-frontend-clear-search'];
+               $clearText = htmlentities( 
$this->data['messages']['mobile-frontend-clear-search'], ENT_QUOTES );
 
                $scriptUrl = wfScript();
                $searchBoxDisplayNone = ( $this->data['hideSearchBox'] ) ? ' 
style="display: none;" ' : '';


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to