René's URL Explorer Experiment


Title: Validate content-length when a stream ends with trailers by feiiiiii5 · Pull Request #1329 · python-hyper/h2 · GitHub

Open Graph Title: Validate content-length when a stream ends with trailers by feiiiiii5 · Pull Request #1329 · python-hyper/h2

X Title: Validate content-length when a stream ends with trailers by feiiiiii5 · Pull Request #1329 · python-hyper/h2

Description: Pure-Python HTTP/2 protocol implementation. Contribute to python-hyper/h2 development by creating an account on GitHub.

Open Graph Description: Fixes #1328 Description A stream that ends with a trailers section never had its content-length policed, and a content-length in the trailers was accepted as if it were the one from the header sect...

X Description: Fixes #1328 Description A stream that ends with a trailers section never had its content-length policed, and a content-length in the trailers was accepted as if it were the one from the header sect...

Opengraph URL: https://github.com/python-hyper/h2/pull/1329

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:9beb6d5c-ff0d-1103-cafd-9a8617042df5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93BE:196D17:CF6793:1236DE9:6B06ED0E
html-safe-nonce447c07f8cf699979278ff3366f727531848f2fcbf1f6576b0d735648d4947380
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0JFOjE5NkQxNzpDRjY3OTM6MTIzNkRFOTo2QjA2RUQwRSIsInZpc2l0b3JfaWQiOiIxODAwNjUyNzY5OTIyMDUxMzQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc138d63860e3d5419ea638e4cdaf175696caab3d6869e726bb6047c58da0324f
hovercard-subject-tagpull_request:4643111082
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-hyper/h2/1329/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d7c1abe9e0162fbdcd0a0e2b9160fbd93e00f5ada8f833af595ccf602ca600b9/python-hyper/h2/pull/1329
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d7c1abe9e0162fbdcd0a0e2b9160fbd93e00f5ada8f833af595ccf602ca600b9/python-hyper/h2/pull/1329
og:image:altFixes #1328 Description A stream that ends with a trailers section never had its content-length policed, and a content-length in the trailers was accepted as if it were the one from the header sect...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefeiiiiii5
hostnamegithub.com
expected-hostnamegithub.com
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-cache
go-importgithub.com/python-hyper/h2 git https://github.com/python-hyper/h2.git
octolytics-dimension-user_id13035907
octolytics-dimension-user_loginpython-hyper
octolytics-dimension-repository_id37996233
octolytics-dimension-repository_nwopython-hyper/h2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id37996233
octolytics-dimension-repository_network_root_nwopython-hyper/h2
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
releaseaf8913cd0f2f77c41796be449ac66a9108825abc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python-hyper/h2/pull/1329#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fpull%2F1329
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-hyper%2Fh2%2Fpull%2F1329
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-hyper%2Fh2
Reloadhttps://github.com/python-hyper/h2/pull/1329
Reloadhttps://github.com/python-hyper/h2/pull/1329
Reloadhttps://github.com/python-hyper/h2/pull/1329
python-hyperhttps://github.com/python-hyper
h2https://github.com/python-hyper/h2
Codehttps://github.com/python-hyper/h2
Issues21 (21)https://github.com/python-hyper/h2/issues
Pull requests23 (23)https://github.com/python-hyper/h2/pulls
Actionshttps://github.com/python-hyper/h2/actions
Projectshttps://github.com/python-hyper/h2/projects
Wikihttps://github.com/python-hyper/h2/wiki
Security and quality2 (2)https://github.com/python-hyper/h2/security
Insightshttps://github.com/python-hyper/h2/insights
https://github.com/python-hyper/h2
feiiiiii5https://github.com/feiiiiii5
python-hyper:masterhttps://github.com/python-hyper/h2/tree/master
feiiiiii5:fix/trailers-content-lengthhttps://github.com/feiiiiii5/h2/tree/fix/trailers-content-length
Conversationhttps://github.com/python-hyper/h2/pull/1329
Commits5 (5)https://github.com/python-hyper/h2/pull/1329/commits
Checkshttps://github.com/python-hyper/h2/pull/1329/checks
Files changedhttps://github.com/python-hyper/h2/pull/1329/files
Validate content-length when a stream ends with trailershttps://github.com/python-hyper/h2/pull/1329#top
feiiiiii5https://github.com/feiiiiii5
python-hyper:masterhttps://github.com/python-hyper/h2/tree/master
feiiiiii5:fix/trailers-content-lengthhttps://github.com/feiiiiii5/h2/tree/fix/trailers-content-length
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Sep 25, 2026https://github.com/python-hyper/h2/pull/1329#issue-5589036478
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
#1328https://github.com/python-hyper/h2/issues/1328
@Kriechihttps://github.com/Kriechi
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
Sep 26, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-5845942108
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Trailer#directiveshttps://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Trailer#directives
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Sep 26, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-5846035017
753a5f3https://github.com/python-hyper/h2/commit/753a5f362685bcb07b382cac1ad4b0a83bb34722
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
Sep 26, 2026 https://github.com/python-hyper/h2/pull/1329#pullrequestreview-5325835556
View reviewed changes https://github.com/python-hyper/h2/pull/1329/files
tests/test_invalid_content_lengths.pyhttps://github.com/python-hyper/h2/pull/1329/files#diff-60f56a0b596882ff8159d7cd5016e1296e299089ce5336de0286f23da9881144
Kriechihttps://github.com/Kriechi
Sep 26, 2026https://github.com/python-hyper/h2/pull/1329#discussion_r4111301859
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
feiiiiii5https://github.com/feiiiiii5
Oct 1, 2026https://github.com/python-hyper/h2/pull/1329#discussion_r4158511759
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
Sep 26, 2026 https://github.com/python-hyper/h2/pull/1329#pullrequestreview-5325835892
View reviewed changes https://github.com/python-hyper/h2/pull/1329/files
tests/test_invalid_content_lengths.pyhttps://github.com/python-hyper/h2/pull/1329/files#diff-60f56a0b596882ff8159d7cd5016e1296e299089ce5336de0286f23da9881144
Kriechihttps://github.com/Kriechi
Sep 26, 2026https://github.com/python-hyper/h2/pull/1329#discussion_r4111302235
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
feiiiiii5https://github.com/feiiiiii5
Oct 1, 2026https://github.com/python-hyper/h2/pull/1329#discussion_r4158511476
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Sep 26, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-5846448752
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
@Kriechihttps://github.com/Kriechi
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Sep 27, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-5854761313
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Sep 27, 2026 https://github.com/python-hyper/h2/pull/1329#ref-issue-5601832896
A 304 with content-length is accepted or rejected by framing alone #1330 https://github.com/python-hyper/h2/issues/1330
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Sep 28, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-5863965497
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Oct 1, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-5936990750
@Kriechihttps://github.com/Kriechi
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Oct 17, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-6237726354
@Kriechihttps://github.com/Kriechi
#1331https://github.com/python-hyper/h2/pull/1331
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
feiiiiii5https://github.com/feiiiiii5
Oct 31, 2026https://github.com/python-hyper/h2/pull/1329#issuecomment-6542062816
#1329https://github.com/python-hyper/h2/pull/1329
#1328https://github.com/python-hyper/h2/issues/1328
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
feiiiiii5https://github.com/feiiiiii5
October 31, 2026 13:30https://github.com/python-hyper/h2/pull/1329#commits-pushed-89064e1
https://github.com/feiiiiii5
https://github.com/Kriechi
Validate content-length when a stream ends with trailershttps://github.com/python-hyper/h2/pull/1329/commits/89064e1077859aadd22d37a3f71f65a4595d0449
89064e1https://github.com/python-hyper/h2/pull/1329/commits/89064e1077859aadd22d37a3f71f65a4595d0449
https://github.com/feiiiiii5
https://github.com/Kriechi
Validate content length before trailershttps://github.com/python-hyper/h2/pull/1329/commits/e1f7c12c03092c3eefc236dd3f9bd49d76c86684
e1f7c12https://github.com/python-hyper/h2/pull/1329/commits/e1f7c12c03092c3eefc236dd3f9bd49d76c86684
https://github.com/feiiiiii5
https://github.com/Kriechi
Reject content-length in trailers, police body length therehttps://github.com/python-hyper/h2/pull/1329/commits/a6ed24e1360f1d99e00b7969145d7a39ffb2573a
a6ed24ehttps://github.com/python-hyper/h2/pull/1329/commits/a6ed24e1360f1d99e00b7969145d7a39ffb2573a
https://github.com/feiiiiii5
https://github.com/Kriechi
Drop the redundant content-length-in-trailers checkhttps://github.com/python-hyper/h2/pull/1329/commits/0de1cfc5eed10cd1879ac9f3585ec833b6ca2a94
0de1cfchttps://github.com/python-hyper/h2/pull/1329/commits/0de1cfc5eed10cd1879ac9f3585ec833b6ca2a94
https://github.com/feiiiiii5
https://github.com/Kriechi
Reject a content-length header received in a trailer sectionhttps://github.com/python-hyper/h2/pull/1329/commits/658b8b45d32e3a88d619080740ffa012fb53b927
658b8b4https://github.com/python-hyper/h2/pull/1329/commits/658b8b45d32e3a88d619080740ffa012fb53b927
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
force-pushedhttps://github.com/python-hyper/h2/compare/28cc3a5a03d1d20178889566db06423c6fcee09d..658b8b45d32e3a88d619080740ffa012fb53b927
28cc3a5https://github.com/python-hyper/h2/commit/28cc3a5a03d1d20178889566db06423c6fcee09d
658b8b4https://github.com/python-hyper/h2/commit/658b8b45d32e3a88d619080740ffa012fb53b927
Compare https://github.com/python-hyper/h2/compare/28cc3a5a03d1d20178889566db06423c6fcee09d..658b8b45d32e3a88d619080740ffa012fb53b927
October 31, 2026 12:30https://github.com/python-hyper/h2/pull/1329#event-34771033487
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
Oct 31, 2026 https://github.com/python-hyper/h2/pull/1329#ref-pullrequest-6134649997
Reject a declared body that never arrives before stream end #1342 https://github.com/python-hyper/h2/pull/1342
https://github.co/hiddenchars
https://github.com/python-hyper/h2/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-hyper%2Fh2%2Fpull%2F1329
https://github.com/Kriechi
Kriechi https://github.com/Kriechi
https://github.com/python-hyper/h2/pull/1329/files/753a5f362685bcb07b382cac1ad4b0a83bb34722
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
content-length is not policed when a stream ends with a trailers section https://github.com/python-hyper/h2/issues/1328
Please reload this pagehttps://github.com/python-hyper/h2/pull/1329
https://github.com/feiiiiii5
https://github.com/Kriechi
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.