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
Sorted using this replacement file (from the Magento site) http://www.magentocommerce.com/board…39603/#t483550
Hi c1webdesigns,
The email validation belongs to the magento core. You should raise this issue to Magento site.
Regard,
Mall