Quote:
Originally Posted by Paul M
Do not comment that line out. You are opening an XSS security hole by removing the htmlspecialchars call.
|
In the file /includes/class_bbcode.php i found two lines:
$text = htmlspecialchars_uni(vbchop($tmp, 36) . '...' . substr($tmp, -14));
so i replaced both by:
$text = htmlspecialchars_uni($text);
and it seems to work (no link shortenings). Is that better regarding security?
https://www.w3schools.com/PHP/func_s...ecialchars.asp