GroupButler
GroupButler copied to clipboard
Non-latin symbols in links in the whitelist break the bot
The bot is frozen when it tries to send the full whitelist of links if this list contains links with non-latin characters
Steps to reproduce:
- Add the bot to a supergroup
- Send the next command
/whitelist пример.рф
- Try to get the list of white links via simply
/whitelist
command - The bot is frozen and doesn't answer anymore
The bot version is 4.2.0 rev.b41a10f
Wait, is this a DoS on the whole bot?
@NotAFile the "the bot is frozen and doesn't answer anymore" part was fixed with this commit and was caused because the API was returning a "message text must be encoded in utf-8" error while sending the list
Well, then this can be closed I guess.
But the other problem is still there (/whitelist
not working with non-latin characters)