MyBB Community Forums

Full Version: Smilie breaks JS when ending with backslash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all

After upgrading my forum to 1.8 I noticed that no js based stuff worked at all and I tracked it back to one of my smilies, which had the code ":-\" at the time. That code is inserted in the smilie function in js and escapes the closing quote => js syntax error.
I've changed to ":-/" for now so it works but the smilie codes should be checked before inserting them in js.

Bye.
Ouch.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/1453

Thanks for contributing to MyBB!

Regards,
The MyBB Group