Open deJaya opened 2 years ago
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.
Set up a form featuring an email field and try to submit an email address which includes an apostrophe.
Formit's validation will flag the email address as invalid.
Email addresses with apostrophes are valid and should be accepted.
Apache / MODX 2.8.4-pl Formit 4.2.7-pl PHP 8.1.6
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