Skip to content
Permalink
Browse files

Fix XSS in manage_filter_page.php

Fixes #24813
  • Loading branch information...
atrol committed Sep 29, 2018
1 parent 8182808 commit 72ab020a42a35fd341e983a25849f8277bb34044
Showing with 2 additions and 2 deletions.
  1. +2 −2 manage_filter_page.php
@@ -103,7 +103,7 @@ function table_print_filter_row( $p_filter_id ) {
echo '</td>';
}
# Project
echo '<td>' . project_get_name( filter_get_field( $p_filter_id, 'project_id' )) . '</td>';
echo '<td>' . string_display_line( project_get_name( filter_get_field( $p_filter_id, 'project_id' ) ) ) . '</td>';
# Public
echo '<td class="center">' . trans_bool( filter_get_field( $p_filter_id, 'is_public' ) ) . '</td>';
# Owner
@@ -152,7 +152,7 @@ function table_print_filters( array $p_filter_array ) {
<div class="widget-header widget-header-small">
<h4 class="widget-title lighter">
<i class="ace-icon fa fa-filter"></i>
<?php echo lang_get('available_filter_for_project') . ': ' . project_get_name( $t_project_id ) ?>
<?php echo lang_get('available_filter_for_project') . ': ' . string_display_line( project_get_name( $t_project_id ) ) ?>
</h4>
</div>

0 comments on commit 72ab020

Please sign in to comment.
You can’t perform that action at this time.