René's URL Explorer Experiment


Title: email: address list folding encodes list-separator comma · Issue #100884 · python/cpython · GitHub

Open Graph Title: email: address list folding encodes list-separator comma · Issue #100884 · python/cpython

X Title: email: address list folding encodes list-separator comma · Issue #100884 · python/cpython

Description: Bug report When during address list folding a separating comma ends up on a folded line containing that is to be unicode-encoded than the separator itself is also unicode encoded. Instead the comma should still a plain comma. This is rej...

Open Graph Description: Bug report When during address list folding a separating comma ends up on a folded line containing that is to be unicode-encoded than the separator itself is also unicode encoded. Instead the comma...

X Description: Bug report When during address list folding a separating comma ends up on a folded line containing that is to be unicode-encoded than the separator itself is also unicode encoded. Instead the comma...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"email: address list folding encodes list-separator comma","articleBody":"# Bug report\r\n\r\nWhen during address list folding a separating comma ends up on a folded  line containing that is to be unicode-encoded than the separator itself is also unicode encoded. Instead the comma should still a plain comma.\r\n\r\nThis is rejected by some mail servers:\r\n```\r\nZZZ: host YYY said:\r\n    550 Invalid address in message header. Consult RFC2822. (in reply to end of\r\n    DATA command)\r\n```\r\n\r\nMinimal example:\r\n\r\n```python\r\n>>> import email\r\n>>> m = email.message.EmailMessage()\r\n>>> t = '01234567890123456789012345678901234567890123456789012345678901@example.org, ä \u003cfoo@example.org>'\r\n>>> m['to'] = t\r\n>>> m.as_string()\r\n'to: 01234567890123456789012345678901234567890123456789012345678901@example.org\\n =?utf-8?q?=2C?= =?utf-8?q?=C3=A4?= \u003cfoo@example.org>\\n\\n'\r\n```\r\n\r\n# Your environment\r\n\r\n\u003c!-- Include as many relevant details as possible about the environment you experienced the bug in -->\r\n\r\n- CPython versions tested on: 3.10.9, latest main (e47b13934b2eb50914e4dbae91f1dc59f8325e30)\r\n- Operating system and architecture: ArchLinux x86_64\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-100885\n* gh-115592\n* gh-115593\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/t-8ch","@type":"Person","name":"t-8ch"},"datePublished":"2023-01-09T13:48:23Z","url":"https://github.com/python/cpython/issues/100884"}

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:0611c815-371d-9f97-3e44-e1a278dbec2a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED96:2FF516:EE584F:140F20A:6B00588F
html-safe-nonce70b73caee9ad625e5f6fc6cfba9f4163f0bed638acce09c3034e30dd3b36246c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDk2OjJGRjUxNjpFRTU4NEY6MTQwRjIwQTo2QjAwNTg4RiIsInZpc2l0b3JfaWQiOiIyMjY2MzY3NDU5Nzg1MjAxODA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd8452fbfc8804853d99199def6f6908e89519ef86a94c5962030a0156dc628ef
hovercard-subject-tagissue:1525625971
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/100884/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8e904af0c8bb128e9f10f6a994b4ebda2c68c764cd70e7e10f4fef23f0eb79ee/python/cpython/issues/100884
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e904af0c8bb128e9f10f6a994b4ebda2c68c764cd70e7e10f4fef23f0eb79ee/python/cpython/issues/100884
og:image:altBug report When during address list folding a separating comma ends up on a folded line containing that is to be unicode-encoded than the separator itself is also unicode encoded. Instead the comma...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamet-8ch
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-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/100884#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F100884
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%2F100884
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/100884
Reloadhttps://github.com/python/cpython/issues/100884
Reloadhttps://github.com/python/cpython/issues/100884
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/100884
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/100884
#100885https://github.com/python/cpython/pull/100885
email: address list folding encodes list-separator commahttps://github.com/python/cpython/issues/100884#top
#100885https://github.com/python/cpython/pull/100885
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
https://github.com/t-8ch
t-8chhttps://github.com/t-8ch
on Jan 9, 2023https://github.com/python/cpython/issues/100884#issue-1525625971
e47b139https://github.com/python/cpython/commit/e47b13934b2eb50914e4dbae91f1dc59f8325e30
GH-100884: email/_header_value_parser: don't encode list separators #100885https://github.com/python/cpython/pull/100885
[3.12] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885) #115592https://github.com/python/cpython/pull/115592
[3.11] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885) #115593https://github.com/python/cpython/pull/115593
t-8chhttps://github.com/t-8ch
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Jan 9, 2023https://github.com/python/cpython/issues/100884#event-8181962048
t-8chhttps://github.com/t-8ch
on Jan 9, 2023https://github.com/python/cpython/issues/100884#event-8182011517
pythonGH-100884: email/_header_value_parser: use existing ListSeparatorhttps://github.com/t-8ch/cpython/commit/b1f41b8b30ea62c7975fb31cb9377c4e73c24c13
pythonGH-100884https://github.com/python/cpython/issues/100884
b1f41b8https://github.com/t-8ch/cpython/commit/b1f41b8b30ea62c7975fb31cb9377c4e73c24c13
pythonGH-100884: email/_header_value_parser: don't encode list separa…https://github.com/t-8ch/cpython/commit/98ab61d5f87b99e2211374ead3cee04ed57c83cd
pythonGH-100884https://github.com/python/cpython/issues/100884
98ab61dhttps://github.com/t-8ch/cpython/commit/98ab61d5f87b99e2211374ead3cee04ed57c83cd
pythonGH-100884: email/_header_value_parser: don't encode list separa…https://github.com/t-8ch/cpython/commit/75a89ca883f603582b69e7f061a2f75f8f12125e
pythonGH-100884https://github.com/python/cpython/issues/100884
75a89cahttps://github.com/t-8ch/cpython/commit/75a89ca883f603582b69e7f061a2f75f8f12125e
mdboomhttps://github.com/mdboom
topic-emailhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-email%22
on Jan 9, 2023https://github.com/python/cpython/issues/100884#event-8182223499
mriconhttps://github.com/mricon
on Jan 9, 2023https://github.com/python/cpython/issues/100884#event-8186747471
tests: add another test for very long email addresshttps://github.com/mricon/b4/commit/26e7d3ccd9d5d6f100aa8e0b94882aec3353262f
26e7d3chttps://github.com/mricon/b4/commit/26e7d3ccd9d5d6f100aa8e0b94882aec3353262f
serhiy-storchakahttps://github.com/serhiy-storchaka
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#100885https://github.com/python/cpython/pull/100885
on Feb 17, 2024https://github.com/python/cpython/issues/100884#event-11836078688
serhiy-storchakahttps://github.com/serhiy-storchaka
on Feb 17, 2024https://github.com/python/cpython/issues/100884#event-11836078690
gh-100884: email/_header_value_parser: don't encode list separators (G…https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48
gh-100884https://github.com/python/cpython/issues/100884
G…https://github.com/python/cpython/pull/100885
09fab93https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48
miss-islingtonhttps://github.com/miss-islington
on Feb 17, 2024https://github.com/python/cpython/issues/100884#event-11836078846
pythongh-100884: email/_header_value_parser: don't encode list separa…https://github.com/miss-islington/cpython/commit/5f617f2034c0dd890cc7fe9ae57e28b5606278b8
pythongh-100884https://github.com/python/cpython/issues/100884
5f617f2https://github.com/miss-islington/cpython/commit/5f617f2034c0dd890cc7fe9ae57e28b5606278b8
pythongh-100884: email/_header_value_parser: don't encode list separa…https://github.com/miss-islington/cpython/commit/a2640a55781188bf5de5293f9cecb64915ad5dc4
pythongh-100884https://github.com/python/cpython/issues/100884
a2640a5https://github.com/miss-islington/cpython/commit/a2640a55781188bf5de5293f9cecb64915ad5dc4
serhiy-storchakahttps://github.com/serhiy-storchaka
on Feb 17, 2024https://github.com/python/cpython/issues/100884#event-11836350492
[3.12] gh-100884: email/_header_value_parser: don't encode list separ…https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74
gh-100884https://github.com/python/cpython/issues/100884
9148b77https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74
[3.11] gh-100884: email/_header_value_parser: don't encode list separ…https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593
gh-100884https://github.com/python/cpython/issues/100884
70754d2https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593
woodruffwhttps://github.com/woodruffw
on Mar 4, 2024https://github.com/python/cpython/issues/100884#event-12003549620
pythongh-100884: email/_header_value_parser: don't encode list separa…https://github.com/woodruffw-forks/cpython/commit/90daba05bfef95e18f580de8b01f8a16dda70b51
pythongh-100884https://github.com/python/cpython/issues/100884
90daba0https://github.com/woodruffw-forks/cpython/commit/90daba05bfef95e18f580de8b01f8a16dda70b51
diegorussohttps://github.com/diegorusso
on Apr 17, 2024https://github.com/python/cpython/issues/100884#event-12505731060
pythongh-100884: email/_header_value_parser: don't encode list separa…https://github.com/diegorusso/cpython/commit/8b8812846037b01e16c56e7c398f9ae1d31c741b
pythongh-100884https://github.com/python/cpython/issues/100884
8b88128https://github.com/diegorusso/cpython/commit/8b8812846037b01e16c56e7c398f9ae1d31c741b
serhiy-storchakahttps://github.com/serhiy-storchaka
on May 16, 2024https://github.com/python/cpython/issues/100884#event-12835246825
pythongh-118643: Fix AttributeError in the email modulehttps://github.com/serhiy-storchaka/cpython/commit/af3ced065f084cadb8beeed335ab85eceaccd3ce
pythongh-118643https://github.com/python/cpython/issues/118643
af3ced0https://github.com/serhiy-storchaka/cpython/commit/af3ced065f084cadb8beeed335ab85eceaccd3ce
pythongh-118643: Fix AttributeError in the email modulehttps://github.com/serhiy-storchaka/cpython/commit/ad85b834dda671a8ff7942258cece9275bb0817b
pythongh-118643https://github.com/python/cpython/issues/118643
ad85b83https://github.com/serhiy-storchaka/cpython/commit/ad85b834dda671a8ff7942258cece9275bb0817b
gh-118643: Fix AttributeError in the email module (GH-119099)https://github.com/python/cpython/commit/858b9e85fcdd495947c9e892ce6e3734652c48f2
gh-118643https://github.com/python/cpython/issues/118643
GH-119099https://github.com/python/cpython/pull/119099
858b9e8https://github.com/python/cpython/commit/858b9e85fcdd495947c9e892ce6e3734652c48f2
miss-islingtonhttps://github.com/miss-islington
on May 22, 2024https://github.com/python/cpython/issues/100884#event-12892096191
pythongh-118643: Fix AttributeError in the email module (pythonGH-119099https://github.com/miss-islington/cpython/commit/6d4b54fca7b5934ba65ca5980c5e0fd8b1e3095d
pythongh-118643https://github.com/python/cpython/issues/118643
pythonGH-119099https://github.com/python/cpython/pull/119099
6d4b54fhttps://github.com/miss-islington/cpython/commit/6d4b54fca7b5934ba65ca5980c5e0fd8b1e3095d
pythongh-118643: Fix AttributeError in the email module (pythonGH-119099https://github.com/miss-islington/cpython/commit/d111cbaffa5d5cb8c92938b44e5aadf901e92838
pythongh-118643https://github.com/python/cpython/issues/118643
pythonGH-119099https://github.com/python/cpython/pull/119099
d111cbahttps://github.com/miss-islington/cpython/commit/d111cbaffa5d5cb8c92938b44e5aadf901e92838
serhiy-storchakahttps://github.com/serhiy-storchaka
on May 22, 2024https://github.com/python/cpython/issues/100884#event-12892695612
[3.11] pythongh-118643: Fix AttributeError in the email module (pytho…https://github.com/serhiy-storchaka/cpython/commit/9bfb6aeb246a4135b52adbab69096806519131cb
pythongh-118643https://github.com/python/cpython/issues/118643
pytho…https://github.com/python/cpython/pull/119099
9bfb6aehttps://github.com/serhiy-storchaka/cpython/commit/9bfb6aeb246a4135b52adbab69096806519131cb
[3.13] gh-118643: Fix AttributeError in the email module (GH-119099) (G…https://github.com/python/cpython/commit/6892b400dc8c95375ef31f6d716d62a6ff0c4cf2
gh-118643https://github.com/python/cpython/issues/118643
GH-119099https://github.com/python/cpython/pull/119099
G…https://github.com/python/cpython/pull/119389
6892b40https://github.com/python/cpython/commit/6892b400dc8c95375ef31f6d716d62a6ff0c4cf2
[3.12] gh-118643: Fix AttributeError in the email module (GH-119099) (G…https://github.com/python/cpython/commit/8c96850161da23ad2b37551d2a89c7d4716fe024
gh-118643https://github.com/python/cpython/issues/118643
GH-119099https://github.com/python/cpython/pull/119099
G…https://github.com/python/cpython/pull/119390
8c96850https://github.com/python/cpython/commit/8c96850161da23ad2b37551d2a89c7d4716fe024
pablogsalhttps://github.com/pablogsal
on May 23, 2024https://github.com/python/cpython/issues/100884#event-12908451587
[3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#…https://github.com/python/cpython/commit/4762b365406a8cf026a4a4ddcae34c28a41c3de9
gh-118643https://github.com/python/cpython/issues/118643
GH-119099https://github.com/python/cpython/pull/119099
#…https://github.com/python/cpython/pull/119393
4762b36https://github.com/python/cpython/commit/4762b365406a8cf026a4a4ddcae34c28a41c3de9
estyxxhttps://github.com/estyxx
on Jul 17, 2024https://github.com/python/cpython/issues/100884#event-13533250124
pythongh-118643: Fix AttributeError in the email module (pythonGH-119099https://github.com/estyxx/cpython/commit/c068bee5f185bfa6a763e61c669cd7b875c84438
pythongh-118643https://github.com/python/cpython/issues/118643
pythonGH-119099https://github.com/python/cpython/pull/119099
c068beehttps://github.com/estyxx/cpython/commit/c068bee5f185bfa6a763e61c669cd7b875c84438
LukasWoodtlihttps://github.com/LukasWoodtli
on Jan 22, 2025https://github.com/python/cpython/issues/100884#event-16034177447
pythongh-100884: email/_header_value_parser: don't encode list separa…https://github.com/LukasWoodtli/cpython/commit/f306be6b5739be06824d9e5f339d7ce1bd315f97
pythongh-100884https://github.com/python/cpython/issues/100884
f306be6https://github.com/LukasWoodtli/cpython/commit/f306be6b5739be06824d9e5f339d7ce1bd315f97
https://github.com/mcepl
mceplhttps://github.com/mcepl
on Mar 11, 2025https://github.com/python/cpython/issues/100884#issuecomment-2712844351
CVE-2025-1795https://github.com/advisories/GHSA-c266-vjjr-2v8j
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/100884
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/100884
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
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.