1
0
Fork 0
forked from fedi/mastodon
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 Change e-mail domain blocks to block IPs dynamically (#17635) 2022-02-24 17:28:23 +01:00
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 Fix being able to post URLs longer than 4096 characters (#17908) 2022-03-30 14:46:03 +02:00
status_pin_validator_spec.rb Add support for private pinned posts (#16954) 2022-01-17 00:49:55 +01:00
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 Add administrative webhooks (#18510) 2022-06-09 21:57:36 +02:00