Ted Johansson
60a3fe41d2
FIX: Disallow encoded words in e-mail addresses ( #33083 )
...
RFC 5322 allows special characters, including ? and =, to be used in e-mail addresses.
RFC 2047 is an extension that adds a feature called "encoded words" which let you embed different encodings in the same header. However, it explicitly says that these aren't allowed in e-mail address headers.
Encoded words have the format:
encoded-word = "=?" charset "?" encoding "?" encoded-text "?="
Where encoding is either Q or B, but could take on other values in the future.
After this change we consider e-mail addresses with an encoded word inside invalid.
2025-06-05 12:58:01 +08:00
..
2023-01-09 12:10:19 +00:00
2024-08-01 06:51:02 -06:00
2023-10-27 15:22:38 +08:00
2023-01-09 12:10:19 +00:00
2023-12-14 10:00:53 +08:00
2023-01-09 12:10:19 +00:00
2021-03-09 09:20:37 +08:00
2023-11-01 16:41:10 +02:00
2023-01-09 12:10:19 +00:00
2024-06-21 17:00:22 +08:00
2023-01-20 12:52:49 -06:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2025-06-05 12:58:01 +08:00
2023-01-09 12:10:19 +00:00
2023-10-27 15:11:10 +08:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-04-04 19:52:11 +03:00
2019-05-13 09:31:32 +08:00
2025-04-17 08:38:03 -05:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-11-10 14:27:35 +11:00
2023-01-09 12:10:19 +00:00
2025-05-29 11:37:20 +08:00
2024-04-19 18:47:30 +08:00
2023-01-09 12:10:19 +00:00
2019-07-11 23:19:28 +02:00
2023-01-09 12:10:19 +00:00
2025-02-19 19:33:46 +02:00
2025-02-19 19:33:46 +02:00
2023-01-09 12:10:19 +00:00
2025-05-13 14:30:24 -03:00
2024-10-10 09:23:06 +08:00
2023-01-09 12:10:19 +00:00
2025-02-06 10:26:23 +08:00
2023-01-09 12:10:19 +00:00
2019-05-13 09:31:32 +08:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-02-02 13:03:11 +00:00
2022-02-07 09:21:14 +08:00
2022-02-07 09:21:14 +08:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2024-04-04 15:02:09 +02:00
2025-02-06 10:26:23 +08:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-20 12:52:49 -06:00
2019-05-13 09:31:32 +08:00
2023-01-09 12:10:19 +00:00
2024-08-16 11:03:39 -03:00
2023-01-09 12:10:19 +00:00
2024-12-30 22:26:20 +03:00
2024-10-10 09:23:06 +08:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00