Skip to content
Snippets Groups Projects
Unverified Commit a5a00d7f authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix email with empty domain name labels passing validation (#23246)

* Fix email with empty domain name labels passing validation

`EmailMxValidator` would allow empty labels because `Resolv::DNS` is
particularly lenient about them, but the email would be invalid and
unusable.

* Add tests
parent dd58db64
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment