fix potential xss with scraper supplied data in table, ty cynic
This commit is contained in:
1 parent
9db95c79d2
commit
a27a8ed01a
1 file changed
+2
-2
@@ -349,8 +349,8 @@ if(count($results["answer"]) !== 0){
|
|||||||
|
|
||||||
$right["answer"] .=
|
$right["answer"] .=
|
||||||
'<tr>' .
|
'<tr>' .
|
||||||
'<td>' . $info . '</td>' .
|
'<td>' . htmlspecialchars($info) . '</td>' .
|
||||||
'<td>' . $value . '</td>' .
|
'<td>' . htmlspecialchars($value) . '</td>' .
|
||||||
'</tr>';
|
'</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user