PDA

View Full Version : Security Issue?


Boofo
03-08-2003, 03:47 AM
This is just another newbie question from the old guy. ;)

Is this a security issue if I place the following line:

$errormessage=bbcodeparse2($errormessage,1,1,1,1);

in the standardmsg, standarderror and standardredirect functions in the functions.php?

And also, could someone please explain to me when the 4 numbers 1s are for? Do they stand for smilies, html and stuff like that?

Xenon
03-08-2003, 10:18 AM
first: no, no security issue, because normally you could already use html code, so the security range doesn't change.

second:
look at the signature of the funciton:
function bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmi lies,$dobbcode)