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 authored and davidhicks committed Oct 22, 2010
1 parent 5f24068 commit 76c9a79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/custom_field_api.php
Expand Up @@ -1420,8 +1420,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 76c9a79

Please sign in to comment.