1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/validators
ThibG 8d217d7231
Improve email address validation (#14565)
* Increase DNS timeout from 1 second to 5 seconds for MX check

1 seconds is rather short when using a recursive DNS resolver which
hasn't got a cached result already available. Use 5 seconds instead,
which is the timeout value we use for outgoing HTTP queries.

* Add more precise error messages for invalid e-mail addresses
2020-08-12 12:40:25 +02:00
..
blacklisted_email_validator_spec.rb Improve email address validation (#14565) 2020-08-12 12:40:25 +02:00
disallowed_hashtags_validator_spec.rb
email_mx_validator_spec.rb
follow_limit_validator_spec.rb
poll_validator_spec.rb
reaction_validator_spec.rb Fix validations of reactions limit (#12955) 2020-01-25 16:00:29 +01:00
status_length_validator_spec.rb
status_pin_validator_spec.rb
unique_username_validator_spec.rb Search account domain in lowercase (#13016) 2020-02-01 15:42:24 +01:00
unreserved_username_validator_spec.rb
url_validator_spec.rb