Topic: Parser : '
Single straight quote (') is transformed into the html entity '
Is that really necessary? It's slightly heavier, and source code unfriendly to read ![]()
Unfortunately no one can be told what FluxBB is - you have to see it for yourself.
You are not logged in. Please login or register.
FluxBB.org Forums » Bug reports (1.3) » Parser : '
Single straight quote (') is transformed into the html entity '
Is that really necessary? It's slightly heavier, and source code unfriendly to read ![]()
forum_htmlencode encodes single quotes as well as double quotes. It is simply a security measure: without it, someone could write something like
<input type='hidden' name='test' foo='<?php echo forum_htmlencode($_POST['test']) ?>' />or
<a href="#" onclick="document.location='<?php echo forum_htmlencode($_POST['test']) ?>'">Test</a>and the code would be vulnerable to an XSS.
Woki, thanks for the info.
FluxBB.org Forums » Bug reports (1.3) » Parser : '
Powered by FluxBB
[ Generated in 0.025 seconds, 7 queries executed ]