mastodon/app/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.rb
disallowed_hashtags_validator.rb
domain_validator.rb
ed25519_key_validator.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
ed25519_signature_validator.rb
email_mx_validator.rb
existing_username_validator.rb
follow_limit_validator.rb Fix follow limit validator reporting lower number past threshold (#9230) 2018-11-08 21:06:01 +01:00
html_validator.rb
note_length_validator.rb Change note length validation to ignore mention domains and URLs (#9717) 2019-01-05 07:16:46 +01:00
poll_validator.rb
reaction_validator.rb
status_length_validator.rb
status_pin_validator.rb
unique_username_validator.rb Search account domain in lowercase (#13016) 2020-02-01 15:42:24 +01:00
unreserved_username_validator.rb Add specs for UnreservedUsernameValidator (#9698) 2019-01-03 13:10:02 +09:00
url_validator.rb Change note length validation to ignore mention domains and URLs (#9717) 2019-01-05 07:16:46 +01:00
vote_validator.rb