-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to login as a guest with non-Latin characters #145
Comments
At this moment we are using alphanumeric expression as the only valid option for guest usernames as we are unsure what the appropriate non-latin characters will Discord accept. However I will keep this issue open as it is our eventual goal to include majority characters. |
From their support page I believe most characters that aren't zero-width and non-rendering should work, at least if the guest usernames aren't subject to different rules than normal ones (and from my testing even some obscure characters that aren't in use since 15th century or don't render properly for me work. I haven't found a single non-working character yet. Even zwsp worked, so not even all zero-width characters are excluded). Luckily, when using I think Also, a funny note for testing - discord actually appears to have a front end problems with guest usernames using weird unicode - with some characters you'll get an error when trying to create a guest account with them, but after reloading the page "open in browser" will take you to the web app with the username that you used. So Discord can handle them, but their dialog box for inputting usernames seems to have some problems :D |
Hi!
Unfortunatelly it's impossible to enter as a guest with non-Latin name (cyrillic, chinese, etc). Seems
do_guest_login()
in embed.js treat these characters as not valid. Is it possible to replace the White-List regular expressionnew RegExp(/^[a-z\d\-_\s]+$/i)
check with the Black-List regex check with forbidden special chars?Thanks!
The text was updated successfully, but these errors were encountered: