René's URL Explorer Experiment


Title: email.policy.default - gotcha with re-using parsed headers with embedded newlines · Issue #121650 · python/cpython · GitHub

Open Graph Title: email.policy.default - gotcha with re-using parsed headers with embedded newlines · Issue #121650 · python/cpython

X Title: email.policy.default - gotcha with re-using parsed headers with embedded newlines · Issue #121650 · python/cpython

Description: Bug report Bug description: I'm not sure if this is a bug, feature request, or user error. I'm happy to re-file once I know which If a parsed email header contains a correctly quoted newline, setting an email header to that value will in...

Open Graph Description: Bug report Bug description: I'm not sure if this is a bug, feature request, or user error. I'm happy to re-file once I know which If a parsed email header contains a correctly quoted newline, setti...

X Description: Bug report Bug description: I'm not sure if this is a bug, feature request, or user error. I'm happy to re-file once I know which If a parsed email header contains a correctly quoted newlin...

Opengraph URL: https://github.com/python/cpython/issues/121650

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"email.policy.default - gotcha with re-using parsed headers with embedded newlines","articleBody":"# Bug report\n\n### Bug description:\n\n*I'm not sure if this is a bug, feature request, or user error. I'm happy to re-file once I know which*\n\nIf a parsed email header contains a correctly quoted newline, setting an email header to that value will include a newline.\n\n```python\nfrom email import message_from_string\nfrom email.policy import default\n\nemail_in = \"\"\"\\\nTo: incoming+tag@me.example.com\nFrom: External Sender \u003csender@them.example.com>\nSubject: Here's an =?UTF-8?Q?embedded_newline=0A?=\nContent-Type: text/html; charset=UTF-8\nContent-Transfer-Encoding: quoted-printable\nMIME-Version: 1.0\n\n\u003chtml>\n\u003chead>\u003ctitle>An embeded newline\u003c/title>\u003c/head>\n\u003cbody>\n  \u003cp>I sent you an embedded newline in the subject. How do you like that?!\u003c/p>\n\u003c/body>\n\u003c/html>\n\"\"\"\n\nmsg = message_from_string(email_in, policy=default)\nmsg = message_from_string(email_in, policy=default)\nfor header, value in msg.items():\n    del msg[header]\n    msg[header] = value\nemail_out = str(msg)\nprint(email_out)\n```\n\nOutput is:\n```email\nTo: incoming+tag@me.example.com\nFrom: External Sender \u003csender@them.example.com>\nSubject: Here's an embedded newline\n\nContent-Type: text/html; charset=\"UTF-8\"\nContent-Transfer-Encoding: quoted-printable\nMIME-Version: 1.0\n\n\u003chtml>\n\u003chead>\u003ctitle>An embeded newline\u003c/title>\u003c/head>\n\u003cbody>\n  \u003cp>I sent you an embedded newline in the subject. How do you like that?!\u003c/p>\n\u003c/body>\n\u003c/html>\n\n```\nAn email parser will interpret the newline as the start of the message. In this case, the `Content-Type` and other MIME headers will not be processed, and the email treated as plain text. In other cases, required headers like `To` may not be processed and the email will not be delivered.\n\nI'd expect an error on setting the value, an error on serializing the `EmailMessage` to a string, the subject to retain the original encoding, or the newline to be quoted in the serialized version. \n\nNow that we know the behavior, we can process the headers (embed or strip trailing newlines). However, you may see this is a bug, a needed feature, or missing documentation.\n\nMore info:\n\n`subject`'s type is a `email.headerregistry._UniqueUnstructuredHeader`. It has a `name`, so it is assigned without checking (`email.policy.EmailPolicy.header_store_parse()`).\n\nThe `_parse_tree`, returned by `email._header_value_parser.get_unstructured()`, is:\n```\nUnstructuredTokenList([ValueTerminal(\"Here's\"), WhiteSpaceTerminal(' '), ValueTerminal('an'), WhiteSpaceTerminal(' '), EncodedWord([ValueTerminal('embedded'), WhiteSpaceTerminal(' '), ValueTerminal('newline\\n')])])\n```\n\nA user encountered this for our email relaying service https://relay.firefox.com (https://github.com/mozilla/fx-private-relay/issues/4841). An incoming email to a service address is matched to a user. We re-write the email headers and forward the email to the user's \"real\" address. \n\nA real email has this subject header:\n\n```\nSubject: The All Over Piercings Wishlist of =?UTF-8?Q?John=2E=0A?=\n```\n\nThis is from a European website https://www.alloverpiercings.com. You can create a wishlist and send it to an email address. The subject appears correctly encoded to me, to allow for non-ASCII usernames, with the unfortunate embedded newline. When forwarding this email, using something similar to the code above (but with more header modifications and additions), the embedded newline is turned into a real newline. The rest of the email headers are treated as part of the body. Since the `Content-Type` and other MIME headers are not processed as headers, the email is treated as a plain text email.\n\n\n### CPython versions tested on:\n\n3.11, 3.12\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-121812\n* gh-122233\n* gh-122484\n* gh-122599\n* gh-122608\n* gh-122609\n* gh-122610\n* gh-122611\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/jwhitlock","@type":"Person","name":"jwhitlock"},"datePublished":"2024-07-12T17:17:12Z","url":"https://github.com/python/cpython/issues/121650"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:eb0b943d-236b-c20a-584a-3e7cc58ab9da
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC89A:3B60C0:101D994:159B38C:6B005C9C
html-safe-nonce12ce96f475d53b6108b15f17a64cd0fae7d948f69ad54ea1c587e98a81dd7d20
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODlBOjNCNjBDMDoxMDFEOTk0OjE1OUIzOEM6NkIwMDVDOUMiLCJ2aXNpdG9yX2lkIjoiMjA2MDMzNTU1MDcyMzgwODQxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2ccc6daa54dcb2b6b44d849eddaee920db81b1ab6f46cdf82e28d2ee5f17b68c
hovercard-subject-tagissue:2406021585
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/121650/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b1d35164d4c2906de34871adc48b3253800c81d68c89e864f0091a129398fc68/python/cpython/issues/121650
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b1d35164d4c2906de34871adc48b3253800c81d68c89e864f0091a129398fc68/python/cpython/issues/121650
og:image:altBug report Bug description: I'm not sure if this is a bug, feature request, or user error. I'm happy to re-file once I know which If a parsed email header contains a correctly quoted newline, setti...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejwhitlock
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/121650#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F121650
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F121650
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/121650
Reloadhttps://github.com/python/cpython/issues/121650
Reloadhttps://github.com/python/cpython/issues/121650
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/121650
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/121650
email.policy.default - gotcha with re-using parsed headers with embedded newlineshttps://github.com/python/cpython/issues/121650#top
topic-emailhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-email%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
type-securityA security issuehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-security%22
https://github.com/jwhitlock
jwhitlockhttps://github.com/jwhitlock
on Jul 12, 2024https://github.com/python/cpython/issues/121650#issue-2406021585
https://relay.firefox.comhttps://relay.firefox.com
mozilla/fx-private-relay#4841https://github.com/mozilla/fx-private-relay/issues/4841
https://www.alloverpiercings.comhttps://www.alloverpiercings.com
gh-121650 : detect newlines in headers #121812https://github.com/python/cpython/pull/121812
gh-121650: Encode newlines in headers, and verify headers are sound #122233https://github.com/python/cpython/pull/122233
[3.13] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) #122484https://github.com/python/cpython/pull/122484
[3.12] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) #122599https://github.com/python/cpython/pull/122599
[3.11] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) #122608https://github.com/python/cpython/pull/122608
[3.10] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) #122609https://github.com/python/cpython/pull/122609
[3.9] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) #122610https://github.com/python/cpython/pull/122610
[3.8] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) #122611https://github.com/python/cpython/pull/122611
Nexthttps://github.com/python/cpython/issues/121650?timeline_page=1
jwhitlockhttps://github.com/jwhitlock
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Jul 12, 2024https://github.com/python/cpython/issues/121650#event-13490035138
Eclips4https://github.com/Eclips4
topic-emailhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-email%22
on Jul 12, 2024https://github.com/python/cpython/issues/121650#event-13490312119
https://github.com/jwhitlock
jwhitlockhttps://github.com/jwhitlock
on Jul 12, 2024https://github.com/python/cpython/issues/121650#issuecomment-2226172405
cpython/Lib/email/policy.pyhttps://github.com/python/cpython/blob/dc03ce797ae8786a9711e6ee5dcaadde02c55864/Lib/email/policy.py#L131-L148
dc03ce7https://github.com/python/cpython/commit/dc03ce797ae8786a9711e6ee5dcaadde02c55864
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Jul 13, 2024https://github.com/python/cpython/issues/121650#issuecomment-2226552997
https://github.com/basbloemsaat
basbloemsaathttps://github.com/basbloemsaat
on Jul 14, 2024https://github.com/python/cpython/issues/121650#issuecomment-2227288862
@encukouhttps://github.com/encukou
https://github.com/jwhitlock
jwhitlockhttps://github.com/jwhitlock
on Jul 15, 2024https://github.com/python/cpython/issues/121650#issuecomment-2228677758
@basbloemsaathttps://github.com/basbloemsaat
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
on Jul 15, 2024https://github.com/python/cpython/issues/121650#issuecomment-2228802439
@Eclips4https://github.com/Eclips4
https://github.com/Eclips4
Eclips4https://github.com/Eclips4
on Jul 15, 2024https://github.com/python/cpython/issues/121650#issuecomment-2228981931
@serhiy-storchakahttps://github.com/serhiy-storchaka
encukouhttps://github.com/encukou
type-securityA security issuehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-security%22
on Jul 27, 2024https://github.com/python/cpython/issues/121650#event-13668928359
encukouhttps://github.com/encukou
on Jul 30, 2024https://github.com/python/cpython/issues/121650#event-13698970904
Merge branch 'main' into pythongh-121650-email-newlines-in-headershttps://github.com/encukou/cpython/commit/eb43fe4f3f985c935a1e0c7dc7178618e3f8f490
pythongh-121650https://github.com/python/cpython/issues/121650
eb43fe4https://github.com/encukou/cpython/commit/eb43fe4f3f985c935a1e0c7dc7178618e3f8f490
gh-121650: Encode newlines in headers, and verify headers are sound (G…https://github.com/python/cpython/commit/097633981879b3c9de9a1dd120d3aa585ecc2384
gh-121650https://github.com/python/cpython/issues/121650
G…https://github.com/python/cpython/pull/122233
0976339https://github.com/python/cpython/commit/097633981879b3c9de9a1dd120d3aa585ecc2384
miss-islingtonhttps://github.com/miss-islington
on Jul 30, 2024https://github.com/python/cpython/issues/121650#event-13701957401
pythongh-121650: Encode newlines in headers, and verify headers are s…https://github.com/miss-islington/cpython/commit/a590277e980eaa8a08204b79ed6c62a763701c8b
pythongh-121650https://github.com/python/cpython/issues/121650
a590277https://github.com/miss-islington/cpython/commit/a590277e980eaa8a08204b79ed6c62a763701c8b
encukouhttps://github.com/encukou
on Aug 2, 2024https://github.com/python/cpython/issues/121650#event-13739196420
pythongh-121650: Encode newlines in headers, and verify headers are s…https://github.com/encukou/cpython/commit/e58aec9cbfdebf45ee863eded142358e9e98531d
pythongh-121650https://github.com/python/cpython/issues/121650
e58aec9https://github.com/encukou/cpython/commit/e58aec9cbfdebf45ee863eded142358e9e98531d
ambvhttps://github.com/ambv
on Aug 2, 2024https://github.com/python/cpython/issues/121650#event-13741524192
[3.11] pythongh-121650: Encode newlines in headers, and verify header…https://github.com/ambv/cpython/commit/f9ddc53ea850fb02d640a9b3263756d43fb6d868
pythongh-121650https://github.com/python/cpython/issues/121650
f9ddc53https://github.com/ambv/cpython/commit/f9ddc53ea850fb02d640a9b3263756d43fb6d868
[3.10] pythongh-121650: Encode newlines in headers, and verify header…https://github.com/ambv/cpython/commit/ff3629b3cedf5e50a7a5f567283778fe5539a11e
pythongh-121650https://github.com/python/cpython/issues/121650
ff3629bhttps://github.com/ambv/cpython/commit/ff3629b3cedf5e50a7a5f567283778fe5539a11e
hrnciarhttps://github.com/hrnciar
on Aug 16, 2024https://github.com/python/cpython/issues/121650#event-13910820994
00435: pythongh-121650: Encode newlines in headers, and verifyhttps://github.com/fedora-python/cpython/commit/1ee66de9e2c6d78013199cd5a7631387b3b18dff
pythongh-121650https://github.com/python/cpython/issues/121650
1ee66dehttps://github.com/fedora-python/cpython/commit/1ee66de9e2c6d78013199cd5a7631387b3b18dff
00435: pythongh-121650: Encode newlines in headers, and verifyhttps://github.com/fedora-python/cpython/commit/f75f869a3604619210b05f27bf7072dee27e924e
pythongh-121650https://github.com/python/cpython/issues/121650
f75f869https://github.com/fedora-python/cpython/commit/f75f869a3604619210b05f27bf7072dee27e924e
blhsinghttps://github.com/blhsing
on Aug 22, 2024https://github.com/python/cpython/issues/121650#event-13974049646
pythongh-121650: Encode newlines in headers, and verify headers are s…https://github.com/blhsing/cpython/commit/064794751f69b2d75f9ecb3ba3b133401873146b
pythongh-121650https://github.com/python/cpython/issues/121650
0647947https://github.com/blhsing/cpython/commit/064794751f69b2d75f9ecb3ba3b133401873146b
mceplhttps://github.com/mcepl
on Aug 29, 2024https://github.com/python/cpython/issues/121650#event-14071262047
[CVE-2024-6923] Encode newlines in headers, and verify headers are soundhttps://github.com/openSUSE-Python/cpython/commit/3be49f56d4b940c458275e2a62812019ac47512f
CVE-2024-6923https://github.com/advisories/GHSA-87qc-q3w7-7m8w
3be49f5https://github.com/openSUSE-Python/cpython/commit/3be49f56d4b940c458275e2a62812019ac47512f
ambvhttps://github.com/ambv
on Sep 4, 2024https://github.com/python/cpython/issues/121650#event-14133485556
[3.8] gh-121650: Encode newlines in headers, and verify headers are s…https://github.com/python/cpython/commit/b158a76ce094897c870fb6b3de62887b7ccc33f1
gh-121650https://github.com/python/cpython/issues/121650
b158a76https://github.com/python/cpython/commit/b158a76ce094897c870fb6b3de62887b7ccc33f1
[3.11] gh-121650: Encode newlines in headers, and verify headers are …https://github.com/python/cpython/commit/f7c0f09e69e950cf3c5ada9dbde93898eb975533
gh-121650https://github.com/python/cpython/issues/121650
f7c0f09https://github.com/python/cpython/commit/f7c0f09e69e950cf3c5ada9dbde93898eb975533
[3.10] gh-121650: Encode newlines in headers, and verify headers are …https://github.com/python/cpython/commit/06f28dc236708f72871c64d4bc4b4ea144c50147
gh-121650https://github.com/python/cpython/issues/121650
06f28dchttps://github.com/python/cpython/commit/06f28dc236708f72871c64d4bc4b4ea144c50147
[3.9] gh-121650: Encode newlines in headers, and verify headers are s…https://github.com/python/cpython/commit/f7be505d137a22528cb0fc004422c0081d5d90e6
gh-121650https://github.com/python/cpython/issues/121650
f7be505https://github.com/python/cpython/commit/f7be505d137a22528cb0fc004422c0081d5d90e6
https://github.com/encukou
encukouhttps://github.com/encukou
on Sep 9, 2024https://github.com/python/cpython/issues/121650#issuecomment-2338442031
@jwhitlockhttps://github.com/jwhitlock
@basbloemsaathttps://github.com/basbloemsaat
encukouhttps://github.com/encukou
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 9, 2024https://github.com/python/cpython/issues/121650#event-14185469550
hrnciarhttps://github.com/hrnciar
on Apr 23, 2025https://github.com/python/cpython/issues/121650#event-17369655249
00435: pythongh-121650: Encode newlines in headers, and verify header…https://github.com/fedora-python/cpython/commit/94d6287d58c538bc56ded0c28ac666bf0db3da83
pythongh-121650https://github.com/python/cpython/issues/121650
94d6287https://github.com/fedora-python/cpython/commit/94d6287d58c538bc56ded0c28ac666bf0db3da83
hroncokhttps://github.com/hroncok
on Jul 4, 2025https://github.com/python/cpython/issues/121650#event-18469779574
00435: pythongh-121650: Encode newlines in headers, and verify header…https://github.com/fedora-python/cpython/commit/40f8c12db277f6a53e052664324fe4e4d4143c11
pythongh-121650https://github.com/python/cpython/issues/121650
40f8c12https://github.com/fedora-python/cpython/commit/40f8c12db277f6a53e052664324fe4e4d4143c11
frenzymadnesshttps://github.com/frenzymadness
on Aug 12, 2025https://github.com/python/cpython/issues/121650#event-19113429489
00435: pythongh-121650: Encode newlines in headers, and verify header…https://github.com/fedora-python/cpython/commit/7b4affec6c53ae4c26925c08da4a883e1fd034c3
pythongh-121650https://github.com/python/cpython/issues/121650
7b4affehttps://github.com/fedora-python/cpython/commit/7b4affec6c53ae4c26925c08da4a883e1fd034c3
hroncokhttps://github.com/hroncok
on Feb 3, 2026https://github.com/python/cpython/issues/121650#event-22487850484
00435: pythongh-121650: Encode newlines in headers, and verify header…https://github.com/fedora-python/cpython/commit/5ed53b939b797068dde73a1abf64e1ee02d0476e
pythongh-121650https://github.com/python/cpython/issues/121650
5ed53b9https://github.com/fedora-python/cpython/commit/5ed53b939b797068dde73a1abf64e1ee02d0476e
hugovkhttps://github.com/hugovk
EmailMessage objects break when folding malformed header #132105https://github.com/python/cpython/issues/132105
on Oct 29, 2026https://github.com/python/cpython/issues/121650#event-34584709219
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/121650
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/121650
topic-emailhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-email%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
type-securityA security issuehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-security%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.