From 76c9a79ef7d88a135e226088c167e90065ef9277 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 21 Sep 2010 22:58:47 +0100 Subject: [PATCH] Following XSS changes, don't double encode --- core/custom_field_api.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/custom_field_api.php b/core/custom_field_api.php index 10e4009a50..3b0baa1a19 100644 --- a/core/custom_field_api.php +++ b/core/custom_field_api.php @@ -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 );