replied on October 10, 2019
Chase -
Thanks! In the meantime, what should I do to bypass the issue to allow me to create the user within the system? Ie. how do I create a user at this point whose address I cannot enter in LFDS? I need to create this account, but the system will not allow me to do so - what is the workaround?
To add to any ticket that may be open regarding validation rules:
You should not rely on any lookup list to determine what is a valid TLD. The only way to validate an address would be to:
- Validate the format, ie. check the 'local part' to have letters, digits or the characters !#$%&'*+-/=~_`{}| or . The address may be quoted to include a sequence of . characters, for instance, and may also be an internationalized format using characters encoded in UTF-8... Then, check the 'domain part' to comply to hostname requirements, which would include characters and digits, and the hyphen. Internationalization rules come into play there too... Also, validate that the local and domain parts are separated by the @ symbol...
- The local part may be no longer than 64 actual characters (UTF-8 can play havoc with a simple count)
- Validate that the domain has an MX record in DNS, or if no MX record, that at least an A or AAAA record exists for the domain.
Of especial note is to consider that the following *IS* a valid (except for the use of the reserved domain example.com):
" "@example.com
This is another valid address:
संपर्क@डाटामेल.भारत
I've read of other situations here on answers where a question has come up with the validation rules for email addresses, and it is disheartening to see that broken validation rules have been implemented on a platform of this caliber...