Closed arcangelinis closed 5 years ago
Tested and confirmed that I am unable to change a contact form settings email address to an address using a domain with two hyphens in a row such as domainwith--twohyphens.com
.
Seen at https://wordpress.com/post/design5279.wordpress.com/12140 using Firefox 60.0.1 on macOS 10.13.4.
Hi, i also can reproduce this issue.
And i think this from third party library. I just create a PR on third party library to fix this issue https://github.com/manishsaraan/email-validator/pull/33
But any other options, to make it fix asap instead wait my PR to be merge? Thanks.
My PR already merged https://github.com/manishsaraan/email-validator/pull/33 Hopefully can fix this issue.
This issue has been marked as stale and will be closed in seven days. This happened because:
You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation.
Steps to reproduce
What I expected
This is a valid email address and a valid website, but the double hyphen is being flagged as not valid.
Work around
By using the Contact Form shortcode I was able to set the email address without any issues
Screenshot / Video