Wez Furlong
b90d8bc1f3
mailparsing: Handle invalid multipart boundaries gracefully
...
The prior commit focused on avoiding a panic when we encountered an invalid
boundary string. This commit makes thing degrade more gracefully: we'll
treat the bad MIME part in the same way that we deal with overly deep nesting
and handle it as an opqaque leaf part.
The new_multipart constructor now rejects an invalid boundary rather than
building an unserializable part, so a flawed policy can't accidentally create
broken messages.
2026-09-29 10:22:18 +01:00
..
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 13:21:20 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-21 20:16:32 +01:00
2026-09-29 10:22:18 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-23 15:26:24 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 09:57:52 +01:00
2026-09-29 10:22:18 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-29 10:22:17 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 13:21:15 +01:00
2026-09-29 10:22:18 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 13:21:20 +01:00
2026-09-29 10:22:18 +01:00
2026-09-29 10:22:18 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 13:21:19 +01:00
2026-08-27 18:00:41 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-29 10:22:18 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 13:21:20 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 14:04:31 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 09:57:52 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-21 20:20:54 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00