René's URL Explorer Experiment


Title: gh-143919: Reject control characters in http cookies by sethmlarson · Pull Request #143920 · python/cpython · GitHub

Open Graph Title: gh-143919: Reject control characters in http cookies by sethmlarson · Pull Request #143920 · python/cpython

X Title: gh-143919: Reject control characters in http cookies by sethmlarson · Pull Request #143920 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: Reject control characters in http.cookies.Morsel #143919

X Description: Issue: Reject control characters in http.cookies.Morsel #143919

Opengraph URL: https://github.com/python/cpython/pull/143920

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:08fd5061-d613-0922-1e8b-54263de57ff7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8A8C:330B9D:6004B8:830F75:6B007516
html-safe-nonce2956d08cfe1bce319d96f8cc4eea736e52b401306f843183f2c529fdd2b5a6c3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QThDOjMzMEI5RDo2MDA0Qjg6ODMwRjc1OjZCMDA3NTE2IiwidmlzaXRvcl9pZCI6Ijg2NTQxOTkxNjcyNDMwMjM2MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9640fe84c6769cc27e264962bf7f3691c0730978bcbf6ad83bf33dac89ca1ae3
hovercard-subject-tagpull_request:3182083865
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/143920/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/54db4fcea51418aba5f3a657e504a41b028b45ccd9298266bb087711ae58449a/python/cpython/pull/143920
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/54db4fcea51418aba5f3a657e504a41b028b45ccd9298266bb087711ae58449a/python/cpython/pull/143920
og:image:altIssue: Reject control characters in http.cookies.Morsel #143919
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesethmlarson
hostnamegithub.com
expected-hostnamegithub.com
None75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16
turbo-cache-controlno-cache
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
release84e563eb4b55f8fa102f325f117533cee9e3df4a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/143920#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143920
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%2Fpull%2F143920
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/143920
Reloadhttps://github.com/python/cpython/pull/143920
Reloadhttps://github.com/python/cpython/pull/143920
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
sethmlarsonhttps://github.com/sethmlarson
python:mainhttps://github.com/python/cpython/tree/main
sethmlarson:reject-control-characters-http-cookieshttps://github.com/sethmlarson/cpython/tree/reject-control-characters-http-cookies
Conversationhttps://github.com/python/cpython/pull/143920
Commits5 (5)https://github.com/python/cpython/pull/143920/commits
Checkshttps://github.com/python/cpython/pull/143920/checks
Files changedhttps://github.com/python/cpython/pull/143920/files
gh-143919: Reject control characters in http cookieshttps://github.com/python/cpython/pull/143920#top
sethmlarsonhttps://github.com/sethmlarson
python:mainhttps://github.com/python/cpython/tree/main
sethmlarson:reject-control-characters-http-cookieshttps://github.com/sethmlarson/cpython/tree/reject-control-characters-http-cookies
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
Jan 16, 2026https://github.com/python/cpython/pull/143920#issue-3822953137
Please reload this pagehttps://github.com/python/cpython/pull/143920
Reject control characters in http.cookies.Morsel #143919https://github.com/python/cpython/issues/143919
Please reload this pagehttps://github.com/python/cpython/pull/143920
sethmlarsonhttps://github.com/sethmlarson
January 16, 2026 11:10https://github.com/python/cpython/pull/143920#commits-pushed-ef01008
https://github.com/sethmlarson
Add 'test.support' fixture for C0 control charactershttps://github.com/python/cpython/pull/143920/commits/ef01008e47a7741808ab223087a458f33e4dd922
ef01008https://github.com/python/cpython/pull/143920/commits/ef01008e47a7741808ab223087a458f33e4dd922
https://github.com/sethmlarson
pythongh-143919https://github.com/python/cpython/issues/143919
: Reject control characters in http.cookies.Morselhttps://github.com/python/cpython/pull/143920/commits/fdbf0c4af076c9804cc66ced3973f059e44caeee
fdbf0c4https://github.com/python/cpython/pull/143920/commits/fdbf0c4af076c9804cc66ced3973f059e44caeee
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
gpsheadhttps://github.com/gpshead
January 16, 2026 17:33https://github.com/python/cpython/pull/143920#event-22101413119
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
type-security https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-security
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jan 16, 2026https://github.com/python/cpython/pull/143920#event-22101413565
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 16, 2026https://github.com/python/cpython/pull/143920#event-22101415476
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 16, 2026 https://github.com/python/cpython/pull/143920#ref-issue-3822872366
Reject control characters in http.cookies.Morsel #143919 https://github.com/python/cpython/issues/143919
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Jan 16, 2026 https://github.com/python/cpython/pull/143920#pullrequestreview-3672398736
View reviewed changes https://github.com/python/cpython/pull/143920/files/fdbf0c4af076c9804cc66ced3973f059e44caeee
Lib/test/test_http_cookies.pyhttps://github.com/python/cpython/pull/143920/files/fdbf0c4af076c9804cc66ced3973f059e44caeee#diff-c76b9066e16ee59493163f762aae4279fd1533f96181cddf0c3d63b1c8ec19aa
Please reload this pagehttps://github.com/python/cpython/pull/143920
https://github.com/sethmlarson
https://github.com/johnslavik
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/143920/commits/03f222d8808552582b69bfd2da7266b2a5573df6
03f222dhttps://github.com/python/cpython/pull/143920/commits/03f222d8808552582b69bfd2da7266b2a5573df6
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Jan 16, 2026 https://github.com/python/cpython/pull/143920#pullrequestreview-3672483908
View reviewed changes https://github.com/python/cpython/pull/143920/files/03f222d8808552582b69bfd2da7266b2a5573df6
Lib/http/cookies.pyhttps://github.com/python/cpython/pull/143920/files/03f222d8808552582b69bfd2da7266b2a5573df6#diff-e49aab1421911b035542d1a9221c31b8c74053f0e8b28f90f03af66177026176
Please reload this pagehttps://github.com/python/cpython/pull/143920
https://github.com/sethmlarson
https://github.com/sobolevn
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/143920/commits/6b999b5883936964ed6d519a2cd3a8206cd9e3b8
6b999b5https://github.com/python/cpython/pull/143920/commits/6b999b5883936964ed6d519a2cd3a8206cd9e3b8
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Jan 19, 2026 https://github.com/python/cpython/pull/143920#pullrequestreview-3677858173
View reviewed changes https://github.com/python/cpython/pull/143920/files/6b999b5883936964ed6d519a2cd3a8206cd9e3b8
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 19, 2026https://github.com/python/cpython/pull/143920#event-22137120021
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Jan 19, 2026https://github.com/python/cpython/pull/143920#event-22137122873
https://github.com/sethmlarson
Fix doctesthttps://github.com/python/cpython/pull/143920/commits/216e492f88bc27b74f2269caf4d96ceeae2ad317
216e492https://github.com/python/cpython/pull/143920/commits/216e492f88bc27b74f2269caf4d96ceeae2ad317
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
January 20, 2026 20:58https://github.com/python/cpython/pull/143920#event-22172076293
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
95746b3https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70
Jan 20, 2026https://github.com/python/cpython/pull/143920#event-22172545125
Please reload this pagehttps://github.com/python/cpython/pull/143920
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jan 20, 2026https://github.com/python/cpython/pull/143920#event-22172546424
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jan 20, 2026https://github.com/python/cpython/pull/143920#issuecomment-3775016985
@sethmlarsonhttps://github.com/sethmlarson
Please reload this pagehttps://github.com/python/cpython/pull/143920
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jan 20, 2026https://github.com/python/cpython/pull/143920#issuecomment-3775018414
@sethmlarsonhttps://github.com/sethmlarson
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/143920
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
sethmlarsonhttps://github.com/sethmlarson
Jan 20, 2026https://github.com/python/cpython/pull/143920#event-22172553420
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
January 20, 2026 21:35https://github.com/python/cpython/pull/143920#event-22172767884
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Jan 20, 2026https://github.com/python/cpython/pull/143920#event-22174229788
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jan 20, 2026https://github.com/python/cpython/pull/143920#event-22174229809
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143920
https://github.com/sobolevn
sobolevn https://github.com/sobolevn
https://github.com/python/cpython/pull/143920/files/03f222d8808552582b69bfd2da7266b2a5573df6
https://github.com/johnslavik
johnslavik https://github.com/johnslavik
https://github.com/python/cpython/pull/143920/files/fdbf0c4af076c9804cc66ced3973f059e44caeee
https://github.com/Yhg1s
Yhg1s https://github.com/Yhg1s
https://github.com/python/cpython/pull/143920/files/6b999b5883936964ed6d519a2cd3a8206cd9e3b8
https://github.com/gpshead
gpshead https://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/143920
https://github.com/sethmlarson
sethmlarson https://github.com/sethmlarson
type-security https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-security
Please reload this pagehttps://github.com/python/cpython/pull/143920
https://github.com/sethmlarson
https://github.com/Yhg1s
https://github.com/sobolevn
https://github.com/johnslavik
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.