Incorrect link detection

Sometimes chat messages are recognized as links, although they are not.

Is recognized as a link:

ansonsten trink ich nur Spezi, nie Wasser bzw. fast nie xD

Not recognized as a link:

ansonsten trink ich nur Spezi, nie Wasser bzw fast nie xD

The only difference between the two messages is bzw / bzw.

2022-11-19T14:22:24.523 <<< ansonsten trink ich nur Spezi, nie Wasser bzw. fast nie xD [user112]
2022-11-19T14:22:24.716 +timeout user112 [links] 1s timeout, warnings left 2 | ansonsten trink ich nur Spezi, nie Wasser bzw. fast nie xD
2022-11-19T14:22:24.729 >>> @user112, Keine Links erlaubt. Frage nach !permit [2 warnings left] [user112]
2022-11-19T14:22:35.532 <<< ansonsten trink ich nur Spezi, nie Wasser bzw fast nie xD [user112]

Difference between those two messages is dot between bzw and fast. FAST is regular tld and with dot and space in links it recognize as link as it should

https://data.iana.org/TLD/tlds-alpha-by-domain.txt

I would recommend to disable link spaces in moderation

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.