Store Email address is a new .club domain – won't validate.

I have an interesting issue I’m hoping someone can help with.

New site, on a new 4 character domain -- .club

When we try to configure the store email addresses on the backend however, the (example) [email protected] emails won’t save as they don’t pass validation.
Has anyone else come across this with any of the new domains? Like .photographer etc?

What do I need to change in js/prototype/validation.js to allow all of the new domains to be accepted?

Around line 529

Code:

return Validation.get('IsEmpty').test(v) || /^([a-z0-9,!\#\$%&'\*\+\/=\?\^_`\{\|\}~-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z0-9,!\#\$%&'\*\+\/=\?\^_`\{\|\}~-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*@([a-z0-9-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z0-9-]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*\.(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]){2,})$/i.test(v)

2 answers

Please login or Register to Submit Answer

Written By

Comments