https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102103
Revision: 102103
Author: foxtrott
Date: 2011-11-05 15:25:56 +0000 (Sat, 05 Nov 2011)
Log Message:
-----------
followup r102060: remove double-escaping
Modified Paths:
--------------
trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php
Modified: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php
===================================================================
--- trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php
2011-11-05 15:16:19 UTC (rev 102102)
+++ trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php
2011-11-05 15:25:56 UTC (rev 102103)
@@ -612,7 +612,7 @@
// To do that they need to use
htmlentities instead of
// braces and brackets
$formcontent .=
- Xml::input( $key, false,
htmlentities( html_entity_decode( $value ) ) , array( 'type' => 'hidden') );
+ Xml::input( $key, false,
Sanitizer::decodeCharReferences( $value ) , array( 'type' => 'hidden' ) );
}
}
@@ -631,7 +631,7 @@
}
$formcontent .=
- Xml::input( 'wpSummary', false, urldecode( $summary ),
array('type' => 'hidden') );
+ Xml::input( 'wpSummary', false, $summary, array('type'
=> 'hidden') );
$form = Xml::tags( 'form', array( 'class' => 'autoedit-data' ),
$formcontent );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs