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 Fix URL scanning in note length validator and preview card fetching (#15827) 2021-03-04 00:12:26 +01:00
poll_validator_spec.rb Allow set the voting period to just 5 minutes (#10525) 2019-04-09 17:02:12 +02:00
reaction_validator_spec.rb
status_length_validator_spec.rb
status_pin_validator_spec.rb
unique_username_validator_spec.rb
unreserved_username_validator_spec.rb Fix various typos (#17621) 2022-02-22 20:14:17 +01:00
url_validator_spec.rb