fix potential xss with scraper supplied data in table, ty cynic

This commit is contained in:
lolcat committed 2026-10-27 01:12:32 -04:00
1 parent 9db95c79d2
commit a27a8ed01a
1 file changed
+2 -2
+2 -2
View File
@@ -349,8 +349,8 @@ if(count($results["answer"]) !== 0){
$right["answer"] .=
'<tr>' .
'<td>' . $info . '</td>' .
'<td>' . $value . '</td>' .
'<td>' . htmlspecialchars($info) . '</td>' .
'<td>' . htmlspecialchars($value) . '</td>' .
'</tr>';
}