Petr Viktorin
9a31386eec
[3.9] gh-121284: Fix email address header folding with parsed encoded-word (GH-122754) (GH-131412)
...
Email generators using email.policy.default may convert an RFC 2047
encoded-word to unencoded form during header refolding. In a structured
header, this could allow 'specials' chars outside a quoted-string,
leading to invalid address headers and enabling spoofing. This change
ensures a parsed encoded-word that contains specials is kept as an
encoded-word while the header is refolded.
[Better fix from @bitdancer.]
(cherry picked from commit 295b53df2aa18deb625a7da41f7e4babfe6ef34b)
Co-authored-by: Mike Edmunds <medmunds@gmail.com>
Co-authored-by: R David Murray <rdmurray@bitdance.com>
2025-04-03 18:27:33 +02:00
..
2024-07-22 13:49:47 +02:00
2021-02-04 16:12:34 -08:00
2022-05-08 11:22:36 -07:00
2022-03-04 01:31:54 +01:00
2021-10-07 08:42:38 -07:00
2025-04-03 18:27:33 +02:00
2022-11-10 16:57:41 +01:00
2023-03-28 10:52:56 +02:00
2022-05-06 12:58:10 +02:00
2024-09-04 17:49:40 +02:00
2024-02-21 12:17:44 +01:00
2022-03-13 17:30:07 -04:00
2021-12-07 02:25:02 -08:00
2022-01-31 12:03:44 -08:00
2021-12-14 01:19:50 +00:00
2021-09-22 17:32:04 +02:00
2022-10-28 12:08:30 +02:00
2022-10-11 16:48:37 +02:00
2022-05-05 12:47:58 -07:00
2025-04-03 18:27:33 +02:00
2025-02-19 10:53:20 +02:00
2021-05-29 04:16:34 -04:00
2022-04-19 09:40:52 -07:00
2025-02-19 14:36:40 +01:00
2024-11-04 16:16:35 +01:00
2021-10-07 08:42:38 -07:00
2024-03-07 00:03:30 +01:00
2021-10-13 20:00:05 +02:00
2021-10-07 08:42:38 -07:00
2021-05-04 11:00:47 +02:00
2022-02-21 02:10:35 +02:00
2022-05-16 18:19:04 +02:00
2021-10-03 20:04:38 +03:00
2022-03-04 10:34:14 -08:00
2021-05-19 20:37:49 -04:00
2021-08-28 20:54:48 +02:00
2021-06-27 11:50:45 -07:00
2022-04-28 08:19:07 -07:00
2024-12-03 17:08:42 +01:00
2021-01-01 12:42:44 -08:00
2021-05-17 00:43:26 +01:00
2020-11-01 01:39:26 -08:00
2021-06-22 16:57:41 +03:00
2021-02-15 10:03:31 -08:00
2021-01-06 04:27:30 +02:00
2021-09-18 00:55:37 +02:00
2021-05-18 18:44:48 +02:00
2021-10-04 23:37:24 -07:00
2021-11-14 05:21:32 -08:00
2020-10-25 17:56:17 +02:00
2023-05-22 12:40:30 +02:00
2021-12-10 11:42:49 +02:00
2022-05-16 17:33:01 +02:00
2021-10-07 08:42:38 -07:00
2022-03-22 14:27:26 -07:00
2021-06-11 01:26:32 -07:00
2021-08-04 22:09:45 +02:00
2020-12-18 11:34:27 -08:00
2021-03-15 12:02:45 -07:00
2021-12-26 14:23:23 +02:00
2021-05-04 00:10:32 -07:00
2021-06-27 14:28:24 +03:00
2021-09-22 17:32:04 +02:00
2021-05-16 11:08:10 -07:00
2025-02-19 14:31:01 +01:00
2022-01-21 14:06:35 -08:00
2024-12-03 18:42:19 +01:00
2021-10-07 08:42:38 -07:00
2021-06-22 16:57:41 +03:00
2022-10-11 23:13:18 +02:00
2022-03-15 08:50:01 -07:00
2021-04-23 10:28:05 -07:00
2021-05-14 15:25:43 -07:00
2021-07-07 23:55:22 +09:00
2021-07-28 17:15:51 +02:00
2022-01-21 09:33:25 -08:00
2021-10-07 08:42:38 -07:00
2021-09-22 17:32:04 +02:00
2021-07-14 17:17:18 +01:00
2020-11-03 13:32:59 -08:00
2021-07-12 17:22:33 +02:00
2023-05-22 12:40:30 +02:00
2022-03-19 17:12:48 +02:00
2022-04-14 02:23:15 -07:00
2021-05-03 16:36:14 -07:00
2021-07-29 17:46:07 +02:00
2022-04-29 11:46:47 -07:00
2023-05-15 18:53:58 +02:00
2021-12-13 02:43:13 -08:00
2024-01-17 15:28:17 +01:00
2021-08-29 16:45:25 +02:00
2024-08-02 15:10:52 +02:00
2021-03-04 08:36:41 -08:00
2022-04-22 22:02:56 +03:00
2022-05-01 13:01:56 +03:00
2022-04-22 22:02:20 +03:00
2023-08-23 12:10:49 +02:00
2021-12-08 13:41:50 +02:00
2023-02-09 10:59:40 +01:00
2021-01-31 23:22:48 -05:00
2024-09-04 17:46:01 +02:00
2024-01-17 14:47:47 +01:00
2022-05-16 17:25:31 +02:00
2021-08-02 11:44:01 +02:00
2023-05-22 12:40:30 +02:00
2021-11-29 10:11:48 +00:00
2020-12-16 14:01:14 -08:00
2021-11-19 19:55:15 +01:00
2021-12-07 14:00:06 +02:00
2022-03-04 19:21:51 -08:00
2023-05-22 12:41:30 +02:00
2021-08-28 20:54:48 +02:00
2020-11-08 02:07:44 -08:00
2024-09-04 17:46:48 +02:00