mastodon/app/validators
Claire a5a00d7f7a
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
2023-01-24 20:18:41 +01:00
..
blacklisted_email_validator.rb
disallowed_hashtags_validator.rb
domain_validator.rb
ed25519_key_validator.rb
ed25519_signature_validator.rb
email_mx_validator.rb
existing_username_validator.rb
follow_limit_validator.rb
html_validator.rb
import_validator.rb
language_validator.rb
note_length_validator.rb
poll_validator.rb
reaction_validator.rb
registration_form_time_validator.rb
status_length_validator.rb
status_pin_validator.rb
unique_username_validator.rb
unreserved_username_validator.rb
url_validator.rb
vote_validator.rb