Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix XSS in reports.php
  • Loading branch information
Hjaelp committed Aug 2, 2017
1 parent 7eb854b commit fc0e732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reports.php
Expand Up @@ -70,7 +70,7 @@
if ($get['reply']) {
$topiclink .= '#reply_'.$get['reply'];
}
$topiclink .= "'>".$get['headline'].'</a>';
$topiclink .= "'>".htmlspecialchars($get['headline']).'</a>';

$report_info = $get['topic'];
if ($get['reply']) {
Expand Down Expand Up @@ -125,7 +125,7 @@
if ($get['reply']) {
$topiclink .= '#reply_'.$get['reply'];
}
$topiclink .= "'>".$get['headline'].'</a>';
$topiclink .= "'>".htmlspecialchars($get['headline']).'</a>';

$report_info = $get['topic'];
if ($get['reply']) {
Expand Down

0 comments on commit fc0e732

Please sign in to comment.