-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat(validation): allow undersocre in domain name when validating email #542
Conversation
✅ Deploy Preview for sefirot-story ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for sefirot-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
AFAIK underscore does not exist in a valid FQDN. Does the underscore in the client email reside within a different label i.e. foo@_bar.example.com? |
Seems like underscore is valid as domain, and invalid as a host name. The client address was more like |
Are they even able to use their email? Because according to RFC 5321 (SMTP) it's invalid. |
Seems like it. Our capitalist is actually communicating through that email address 🫠 So, we kinda have no choice 😆 |
ah ok, seems like there are 6 email standards 🫠 I think we can merge this for now, or just remove this ( |
@brc-dd looks like you’ll have to fork tldts 😂 |
I'll port https://github.com/egulias/EmailValidator to JS some day 😅 |
Ok wait, but that package is also rejecting this 🤣 @kiaking Laravel will throw for this email. |
Ahhh... @brc-dd Well this fix will apply to non Laravel app so it's OK for now, but damn. We might have to create custom validation for Laravel then 🫠 |
There was a client who had email address that contains underscore in domain name. And seems like it is valid. So, updating email validation to allow unerscore.