Permalink
Browse files

Merge pull request #54 from Hjaelp/patch-1

Fix XSS in reports.php
  • Loading branch information...
r04r committed Sep 3, 2017
2 parents 7eb854b + fc0e732 commit 3eed4ea4f13b520c8c1287e12049b2d70a9aef64
Showing with 2 additions and 2 deletions.
  1. +2 −2 reports.php
View
@@ -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']) {
@@ -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']) {

0 comments on commit 3eed4ea

Please sign in to comment.