From dbd4e0b2003167e7f7946c09ad04edfae008e6e5 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Wed, 11 Nov 2026 21:23:21 +0100 Subject: [PATCH 1/2] Exclude Content-Transfer-Encoding decoding from the threat model --- THREAT_MODEL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/THREAT_MODEL.md b/THREAT_MODEL.md index d910098..4626f01 100644 --- a/THREAT_MODEL.md +++ b/THREAT_MODEL.md @@ -40,6 +40,7 @@ Report these as public issues if you think they are bugs. | An exception other than `FormParserError` on malformed input | It fails that one request, and it is fixed as a normal bug | | Memory use from a large body when `MAX_BODY_SIZE` is not set | The default is unlimited, so you set the limit here or in your server | | Malicious content in fields, filenames, or file bodies | The library returns what the client sent, and validating it is your job | +| A part's `Content-Transfer-Encoding` decoded wrongly or not at all | [RFC 7578 ยง4.7](https://www.rfc-editor.org/rfc/rfc7578#section-4.7) deprecates it for `multipart/form-data`, and browsers do not send it. A value that is not decoded holds the bytes the client sent | ## Your responsibilities From cfe2f3f232e1ff1ccecfff1c4d4b53fa37db6072 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Thu, 12 Nov 2026 09:11:22 +0100 Subject: [PATCH 2/2] Retrigger CI