Skip to content

Commit

Permalink
fix possible xss issue
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2830 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
mantis committed Aug 8, 2004
1 parent 4f80fdb commit 153b4b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion query_delete_page.php
Expand Up @@ -32,7 +32,7 @@
?>
<br />
<div align="center">
<center><b><?php print filter_db_get_name( $f_query_id ); ?></b></center>
<center><b><?php print string_display( filter_db_get_name( $f_query_id ) ); ?></b></center>
<?php echo lang_get( 'query_delete_msg' ); ?>

<form method="post" action="<?php print $t_delete_url; ?>">
Expand Down
2 changes: 1 addition & 1 deletion query_view_page.php
Expand Up @@ -47,7 +47,7 @@

print '<td>';

print "<a href=" . $t_use_query_url . db_prepare_int( $t_id ) . ">$t_name</a>";
print '<a href=' . $t_use_query_url . db_prepare_int( $t_id ) . '>' . string_display( $t_name ) . '</a>';

if ( filter_db_can_delete_filter( $t_id ) ) {
print " [<a href=" . $t_delete_query_url . db_prepare_int( $t_id ) . ">" . lang_get( 'delete_query' ) . "</a>]";
Expand Down

0 comments on commit 153b4b7

Please sign in to comment.