Index: /home/sogabe/public_html/mantis/core/print_api.php =================================================================== --- /home/sogabe/public_html/mantis/core/print_api.php (revision 131) +++ /home/sogabe/public_html/mantis/core/print_api.php (working copy) @@ -302,7 +302,7 @@ function print_tag_input( $p_bug_id = 0, $p_string="" ) { ?> - + Index: /home/sogabe/public_html/mantis/tag_attach.php =================================================================== --- /home/sogabe/public_html/mantis/tag_attach.php (revision 130) +++ /home/sogabe/public_html/mantis/tag_attach.php (working copy) @@ -76,7 +76,7 @@ } $t_tag_string .= $t_tag_row['name']; } - + foreach( $t_tags_failed as $t_tag_row ) { echo ''; if ( -1 == $t_tag_row['id'] ) { @@ -84,7 +84,7 @@ } elseif ( -2 == $t_tag_row['id'] ) { echo '',lang_get( 'tag_create_denied' ),''; } - echo '',$t_tag_row['name'],''; + echo '',string_html_specialchars( $t_tag_row['name'] ),''; if ( "" != $t_tag_string ) { $t_tag_string .= config_get( 'tag_separator' ); @@ -91,7 +91,7 @@ } $t_tag_string .= $t_tag_row['name']; } -?> +?> > Index: /home/sogabe/public_html/mantis/tag_update_page.php =================================================================== --- /home/sogabe/public_html/mantis/tag_update_page.php (revision 130) +++ /home/sogabe/public_html/mantis/tag_update_page.php (working copy) @@ -75,7 +75,7 @@ if ( access_has_global_level( config_get( 'tag_edit_threshold' ) ) ) { if ( ON == config_get( 'use_javascript' ) ) { $t_username = prepare_user_name( $t_tag_row['user_id'] ); - echo ajax_click_to_edit( $t_username, 'user_id', 'entrypoint=user_combobox&user_id=' . $t_tag_row['user_id'] . '&access_level=' . config_get( 'tag_create_threshold' ) ); + echo ajax_click_to_edit( $t_username, 'user_id', 'entrypoint=user_combobox&user_id=' . $t_tag_row['user_id'] . '&access_level=' . config_get( 'tag_create_threshold' ) ); } else { echo ' + Index: /home/sogabe/public_html/mantis/tag_view_page.php =================================================================== --- /home/sogabe/public_html/mantis/tag_view_page.php (revision 130) +++ /home/sogabe/public_html/mantis/tag_view_page.php (working copy) @@ -50,7 +50,7 @@ - + @@ -98,7 +98,7 @@ echo ( $i > 0 ? '' : '' ); echo "$t_name\n"; echo ''; - print_bracket_link( 'search.php?hide_status_id=90&tag_string='.urlencode("+$t_tag_row[name]".config_get('tag_separator')."+$t_name"), sprintf( lang_get( 'tag_related_issues' ), $t_tag['count'] ) ); + print_bracket_link( 'search.php?hide_status_id=90&tag_string='.urlencode("+$t_tag_row[name]".config_get('tag_separator')."+$t_name"), sprintf( lang_get( 'tag_related_issues' ), $t_tag['count'] ) ); echo ''; $i++;