Skip to content

Commit

Permalink
Following XSS changes, don't double encode
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Sep 30, 2010
1 parent e597fac commit 89c9f85
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/custom_field_api.php
Expand Up @@ -1439,8 +1439,6 @@ function print_custom_field_input( $p_field_def, $p_bug_id = null ) {
}
}

$t_custom_field_value = string_attribute( $t_custom_field_value );

global $g_custom_field_type_definition;
if( isset( $g_custom_field_type_definition[$p_field_def['type']]['#function_print_input'] ) ) {
call_user_func( $g_custom_field_type_definition[$p_field_def['type']]['#function_print_input'], $p_field_def, $t_custom_field_value );
Expand Down

0 comments on commit 89c9f85

Please sign in to comment.