r76285 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76284‎ | r76285 | r76286 >
Date:01:29, 8 November 2010
Author:yaron
Status:deferred
Tags:
Comment:
Removed htmlspecialchars() call for 'textarea' input - escaping is already being done, so now it just results in double-escaping
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormInputs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.php
@@ -619,7 +619,6 @@
620620 $rows = $other_args['rows'];
621621 $cols = $other_args['cols'];
622622
623 - $cur_value = htmlspecialchars( $cur_value );
624623 $text = "";
625624 if ( array_key_exists( 'autogrow', $other_args ) ) {
626625 $sfgAutogrowInputs[] = $input_id;

Status & tagging log