You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When invalidating email addresses in Form.io, addresses that use curly quotes (“”) are considered valid. See the difference between using straight vs curly quotes here.
Version/Branch
Current version, however, the bug can be observed on the Form.io portal.
To Reproduce
Steps to reproduce the behavior:
Navigate to the Form.io portal.
Enter the email address just"not"right@example.com. As this is an invalid email address as per the RFC5322 it should be invalidated, and Form.io correctly does so.
Now enter the email address just“not”right@example.com using curly quotes, and Form.io will fail to invalidate it.
Expected behavior
I haven't tested this against any other special characters but emails using curly quotes should still be invalidated as can be observed on many other platforms such as GitHub (verify on the Sign Up page)
The text was updated successfully, but these errors were encountered:
This is probably due to the regex validation we currently use to validate email addresses in the email component, I believe this would be solved by simply modifying this test to include curly quotes as well. Would you be willing to submit a PR and a test for this?
Describe the bug
When invalidating email addresses in Form.io, addresses that use curly quotes (“”) are considered valid. See the difference between using straight vs curly quotes here.
Version/Branch
Current version, however, the bug can be observed on the Form.io portal.
To Reproduce
Steps to reproduce the behavior:
just"not"right@example.com
. As this is an invalid email address as per the RFC5322 it should be invalidated, and Form.io correctly does so.just“not”right@example.com
using curly quotes, and Form.io will fail to invalidate it.Expected behavior
I haven't tested this against any other special characters but emails using curly quotes should still be invalidated as can be observed on many other platforms such as GitHub (verify on the Sign Up page)
The text was updated successfully, but these errors were encountered: