Michael Brown
3bf3b9a4a5
DEV: pull email address validation out to a new EmailAddressValidator
...
We validate the *format* of email addresses in many places with a match against
a regex, often with very slightly different syntax.
Adding a separate EmailAddressValidator simplifies the code in a few spots and
feels cleaner.
Deprecated the old location in case someone is using it in a plugin.
No functionality change is in this commit.
Note: the regex used at the moment does not support using address literals, e.g.:
* localpart@[192.168.0.1]
* localpart@[2001:db8::1]
2022-02-17 21:49:22 -05:00
..
2022-01-05 18:45:08 +01:00
2021-10-27 11:39:28 +03:00
2022-01-05 18:45:08 +01:00
2022-02-16 13:04:31 +01:00
2021-05-21 11:43:47 +10:00
2020-06-21 12:12:42 +02:00
2021-05-21 11:43:47 +10:00
2019-05-30 22:22:24 +02:00
2022-01-05 18:45:08 +01:00
2021-05-21 11:43:47 +10:00
2022-02-17 21:49:22 -05:00
2022-01-05 18:45:08 +01:00
2019-05-30 22:22:24 +02:00
2021-02-19 13:46:54 -07:00
2022-01-05 18:45:08 +01:00
2019-11-14 15:10:51 -05:00
2022-01-05 18:45:08 +01:00
2022-02-17 21:49:22 -05:00
2021-06-15 19:08:55 +05:30
2020-05-11 11:07:57 -04:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2021-10-27 11:39:28 +03:00
2020-05-05 13:46:57 +10:00
2020-05-05 13:46:57 +10:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2021-07-22 09:55:02 +02:00
2019-12-20 11:10:18 -05:00
2019-05-30 22:22:24 +02:00
2022-01-05 18:45:08 +01:00
2021-10-26 19:16:52 +01:00
2022-01-05 18:45:08 +01:00
2020-07-31 12:04:03 -05:00
2020-02-28 10:26:18 -05:00
2022-01-05 18:45:08 +01:00
2022-01-05 18:45:08 +01:00
2021-07-05 14:17:31 +08:00
2021-01-13 23:10:00 +05:30
2022-01-05 18:45:08 +01:00
2021-10-27 14:22:37 +02:00
2022-01-05 18:45:08 +01:00
2022-02-17 21:49:22 -05:00
2019-06-18 15:52:34 +05:30
2021-10-27 11:39:28 +03:00