Email Address Validation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Email Address Validation

David Williams
When attempting to use an email address with an apostrophe in dotcms 4.1.1, it is rejected and the error message displayed shows as "{0} is an invalid E-mail Address."

Screenshot from demo site: https://screenshots.firefox.com/WCxVkMUZ3vMCjRMy/demo.dotcms.com

Is there any way to get round this without replacing the minified main js bundle and changing the regex?

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/3ff00db6-cd02-4efb-9be8-24f940711343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Email Address Validation

John Michael Thomas
Unfortunately I don't believe there's a way to get around this in 4.1.1 other than making updates to the code.  Although it won't help your immediate issue, the regex has been updated in the upcoming 4.2.0 release to accept these addresses.

On Friday, October 6, 2017 at 1:48:26 AM UTC-7, David Williams wrote:
When attempting to use an email address with an apostrophe in dotcms 4.1.1, it is rejected and the error message displayed shows as "{0} is an invalid E-mail Address."

Screenshot from demo site: <a href="https://screenshots.firefox.com/WCxVkMUZ3vMCjRMy/demo.dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fscreenshots.firefox.com%2FWCxVkMUZ3vMCjRMy%2Fdemo.dotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGwho1RCclANCb0R7c1av4eXEiTHQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fscreenshots.firefox.com%2FWCxVkMUZ3vMCjRMy%2Fdemo.dotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGwho1RCclANCb0R7c1av4eXEiTHQ&#39;;return true;">https://screenshots.firefox.com/WCxVkMUZ3vMCjRMy/demo.dotcms.com

Is there any way to get round this without replacing the minified main js bundle and changing the regex?

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/3f8c0713-6bb9-4434-94cc-7ce6643f4927%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.