MyBB Community Forums

Full Version: Post handler wrongly counts invalid/unavailable video code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Example: https://community.mybb.com/thread-224654.html
I've to add some extra character to make an invalid/unavailable video code not a video code, ' in the example post. It's even counting video code in a [code] tag.

Image counting seems correct, which is done after the message is parsed: function verify_image_count().

Source line for video count: function verify_video_count(). It'll be good to see the post handler can count something of video after content parsing, but not sure if there's a good way for doing so. Current 1.8 parser uses template to output an valid [video=] tag, which looks unreliable to me.
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/4024

Thanks for contributing to MyBB!

Regards,
The MyBB Group