MyBB Community Forums

Full Version: Auto-URLify doesn't work for URLs after non-English characters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It's known that a URL would be automatically URLified given that this URL is correctly written. In English or other letter-based languages, each segment, word/entity, is separated by a space " ". So in English (and other letter-based languages), a well-formed URL will be auto-URLified if there's a space before the URL:
Quote:Let's see the URL: https://community.mybb.com/newthread.php?fid=13
However, in some other languages like CJKs, there's no such space to separate characters/entities. And if there's a URL appended directly after CJKs:
Quote:これはリンクですhttps://community.mybb.com/newthread.php?fid=13
OK, more tests here. Let's see how emojis will be affecting auto URLify:
Quote:😎https://community.mybb.com/newthread.php?fid=13

And I bet after CJK symbols or punctuations, the link won't get auto URLified:
Quote:「https://community.mybb.com/newthread.php?fid=13」
这是一个链接:https://community.mybb.com/newthread.php?fid=13

Let me try one more time, no space this time:
Quote:Let's see the URL:https://community.mybb.com/newthread.php?fid=13
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/3965

Thanks for contributing to MyBB!

Regards,
The MyBB Group