mastodon/spec/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_spec.rb
disallowed_hashtags_validator_spec.rb
email_mx_validator_spec.rb Fix email with empty domain name labels passing validation (#23246) 2023-01-24 20:18:41 +01:00
follow_limit_validator_spec.rb
note_length_validator_spec.rb
poll_validator_spec.rb
reaction_validator_spec.rb
status_length_validator_spec.rb
status_pin_validator_spec.rb
unique_username_validator_spec.rb
unreserved_username_validator_spec.rb
url_validator_spec.rb