Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formit email validation fails if email address includes an apostrophe [single quote] #266

Open
deJaya opened this issue Jun 2, 2022 · 0 comments

Comments

@deJaya
Copy link

deJaya commented Jun 2, 2022

Bug report

Summary

According to RFC 3696 - apostrophes are valid characters in an email address, at least before the @ sign.

Formit’s email validation appears to disagree and flags such an address as invalid.

Suggestions as to the cause, and a workaround, are here.

Step to reproduce

Set up a form featuring an email field and try to submit an email address which includes an apostrophe.

Observed behavior

Formit's validation will flag the email address as invalid.

Expected behavior

Email addresses with apostrophes are valid and should be accepted.

Environment

Apache / MODX 2.8.4-pl Formit 4.2.7-pl PHP 8.1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant