MyBB Community Forums

Full Version: [F] "Code" Eating Up Typed Variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Unquoted and Uncoded:

<a\1href="Blah.html">

Quoted:

Quote:<a\1href="Blah.html">

Code:

<a\1href="Blah.html">

Admins, feel free to "edit" my post and see how the text is identical in all three instances.

[Image: testttsz5.th.jpg]
<a\1href="Blah.html">
<a\href="Blah.html">
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.
Use this file to fix it, upload to your inc folder:

edit: updated 10/12 4:24 (GMT +1)
Many thanks CraKteR ^_^
Edited with a new fix for php codes with $str = ' \ ' or something like that in them.

edit: updated 10/12 4:24 (GMT +1)
The bug with the php tag is unfixable. This is a bug with PHP lexical parser, and unfortunately they don't want to fix it on their end and we can't fix it on ours. So just know that malformed php in the [php] tag won't work, but it's been fixed with the [code] tag since it doesn't use highlighting.