jsxc / xmpp-cloud-auth

:key: Authentication hub for Nextcloud+JSXC→Prosody, ejabberd, saslauthd, Postfix
https://www.jsxc.org
MIT License
59 stars 18 forks source link

.link TLD is not accepted in user XMPP settings #93

Open zfkdnop opened 1 year ago

zfkdnop commented 1 year ago

With "Allow user to overwrite XMPP settings" ENABLED:

When I go to my user settings, Settings -> Personal -> JavaScript Xmpp Client, I am presented with the text, "If you like to use your XMPP account with a different client, use redacted@xmpp.redacted.link as your Jabber ID (JID)."

When I enter "redacted@xmpp.redacted.link" into the field labelled "Username" and click Save XMPP Settings I am presented with the error message, "Please match the requested format." When I change the Username field contents to "redacted@xmpp.redacted.com" and click Save XMPP Settings, the settings are saved (no error message)

This leads me to believe the .link TLD is NOT recognized as valid. Please add this to your regex.