http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100694
Revision: 100694
Author: bawolff
Date: 2011-10-25 13:16:01 +0000 (Tue, 25 Oct 2011)
Log Message:
-----------
(bug 29066) Decode character references in input to InputBox so they don't get
double-encoded later by Xml::openElement.
Modified Paths:
--------------
trunk/extensions/InputBox/InputBox.classes.php
Modified: trunk/extensions/InputBox/InputBox.classes.php
===================================================================
--- trunk/extensions/InputBox/InputBox.classes.php 2011-10-25 13:03:46 UTC
(rev 100693)
+++ trunk/extensions/InputBox/InputBox.classes.php 2011-10-25 13:16:01 UTC
(rev 100694)
@@ -510,7 +510,7 @@
if ( strpos( $line, '=' ) === false )
continue;
list( $name, $value ) = explode( '=', $line, 2 );
- $values[ strtolower( trim( $name ) ) ] = trim( $value );
+ $values[ strtolower( trim( $name ) ) ] =
Sanitizer::decodeCharReferences( trim( $value ) );
}
// Build list of options, with local member names
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs