When inviting a user with email
*@example.org (wildcard at domain dot tld), the completion field validates to
@example.org (at domain dot tld). This bug also works with
- Although rare, the wildcard character
*and the tilde character
~are both valid usernames in email. Therefore they should be acceptable.
- The validation should return the exact same string as entered or fail.
- Fix the regular expression to accept
~as an email username. This does not mean ‘any user at domain’: it really means the user with email
* at domain dot tld.
- Ensure the field completion returns the same value as it was provided in case it validates.