http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96137
Revision: 96137
Author: preilly
Date: 2011-09-02 18:13:22 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
remove calls to htmlspecialchars the parser deals with what html is allowed and
what is not itself and it might mess with the edit token as well
Modified Paths:
--------------
trunk/extensions/MobileFrontend/MobileFrontend.php
Modified: trunk/extensions/MobileFrontend/MobileFrontend.php
===================================================================
--- trunk/extensions/MobileFrontend/MobileFrontend.php 2011-09-02 18:13:03 UTC
(rev 96136)
+++ trunk/extensions/MobileFrontend/MobileFrontend.php 2011-09-02 18:13:22 UTC
(rev 96137)
@@ -333,9 +333,9 @@
if ( $mobileAction == 'leave_feedback_post' ) {
- $subject = htmlspecialchars( $wgRequest->getText(
'subject', '' ) );
- $message = htmlspecialchars( $wgRequest->getText(
'message', '' ) );
- $token = htmlspecialchars( $wgRequest->getText(
'edittoken', '' ) );
+ $subject = $wgRequest->getText( 'subject', '' );
+ $message = $wgRequest->getText( 'message', '' );
+ $token = $wgRequest->getText( 'edittoken', '' );
$title = Title::newFromText( 'MobileFrontend Extension
Feedback' );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs