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 Change admin UI for hashtags and add back whitelisted trends (#11490) 2019-08-05 19:54:29 +02:00
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 Add specs for FollowLimitValidator (#9655) 2018-12-29 08:24:52 +01:00
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 Fix validations of reactions limit (#12955) 2020-01-25 16:00:29 +01:00
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 Search account domain in lowercase (#13016) 2020-02-01 15:42:24 +01:00
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