2010-08-09, 04:04 AM
I don't know how to explain it, so he can.
OT: http://mschat.net/forum/index.php?topic=2067.0
Its what people from the other side think. .
Quote:You mean does MyBB's do the stupid str_replace thing?
I'll check...
[~5 minutes go by]
Why yes, it does do BBCode retardedly. Not as retardedly as str_replace, lol, but it does do preg_replace, meaning you can do:
italic bold still bold! -> <em>italic <strong>bold</em> still bold!</strong>
When it should be:
<em>italic <strong>bold</strong></em> still bold![/b]
From what I can tell too, for some STUPID reason, they don't use htmlspecialchars on their messages. In fact, each time they parse messages, they do str_replace("<", "<", $str); and on >...
Because you know it is more likely that a post will have HTML allowed than not. OH, WAIT!
OT: http://mschat.net/forum/index.php?topic=2067.0
Its what people from the other side think. .