Please sign in to comment.
bpo-21315: Fix parsing of encoded words with missing leading ws. (GH-…
…13425) (#13846) * bpo-21315: Fix parsing of encoded words with missing leading ws. Because of missing leading whitespace, encoded word would get parsed as unstructured token. This patch fixes that by looking for encoded words when splitting tokens with whitespace. Missing trailing whitespace around encoded word now register a defect instead. Original patch suggestion by David R. Murray on bpo-21315. (cherry picked from commit 66c4f3f) Co-authored-by: Abhilash Raj <firstname.lastname@example.org>
- Loading branch information...
Showing with 49 additions and 3 deletions.
|@@ -0,0 +1,4 @@|
|Email headers containing RFC2047 encoded words are parsed despite the missing|
|whitespace, and a defect registered. Also missing trailing whitespace after|
|encoded words is now registered as a defect.|