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

Revision: 108327
Author:   ashley
Date:     2012-01-07 20:02:02 +0000 (Sat, 07 Jan 2012)
Log Message:
-----------
Comments: follow-up to r108320: remove htmlspecialchars() call, as per CR

Modified Paths:
--------------
    trunk/extensions/Comments/SpecialCommentIgnoreList.php

Modified: trunk/extensions/Comments/SpecialCommentIgnoreList.php
===================================================================
--- trunk/extensions/Comments/SpecialCommentIgnoreList.php      2012-01-07 
16:58:56 UTC (rev 108326)
+++ trunk/extensions/Comments/SpecialCommentIgnoreList.php      2012-01-07 
20:02:02 UTC (rev 108327)
@@ -114,7 +114,7 @@
                        '</div>
                        <div>
                                <form action="" method="post" 
name="comment_block">' .
-                                       Html::hidden( 'user', htmlspecialchars( 
$user_name, ENT_QUOTES ) ) .
+                                       Html::hidden( 'user', $user_name ) .
                                        '<input type="button" 
class="site-button" value="' . wfMsg( 'comment-ignore-unblock' ) . '" 
onclick="document.comment_block.submit()" />
                                        <input type="button" 
class="site-button" value="' . wfMsg( 'comment-ignore-cancel' ) . '" 
onclick="history.go(-1)" />
                                </form>


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to