René's URL Explorer Experiment


Title: Reject header fields with surrounding whitespace by sunu · Pull Request #281 · python-hyper/h2 · GitHub

Open Graph Title: Reject header fields with surrounding whitespace by sunu · Pull Request #281 · python-hyper/h2

X Title: Reject header fields with surrounding whitespace by sunu · Pull Request #281 · 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: Trying to write a fix for #271. I was wondering if whitespace should be stripped before sending the headers in _build_headers_frames.

X Description: Trying to write a fix for #271. I was wondering if whitespace should be stripped before sending the headers in _build_headers_frames.

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b190217c-0678-d36d-1560-474c3d29beed
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8136:161098:170E71:1FEA7D:6B0739FE
html-safe-nonce4161c3f816421cb0b2d8c1695dc75b0d6bfbb72ed128a5bee59b6576ed831d02
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTM2OjE2MTA5ODoxNzBFNzE6MUZFQTdEOjZCMDczOUZFIiwidmlzaXRvcl9pZCI6IjYxMDM2MTg4MTU0NDU2NDU4MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6d4d044cf7428894d82c4f31f1f7056f4c633fe4b98a6fe81a11dcc2067c9f28
hovercard-subject-tagpull_request:80372843
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-hyper/h2/pull/281/commits
twitter:imagehttps://opengraph.githubassets.com/ab6d20987ea9cedd1d685ce59ba7c05bf38a82f7c651e3e247ee205bf450bb7c/python-hyper/h2/pull/281
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ab6d20987ea9cedd1d685ce59ba7c05bf38a82f7c651e3e247ee205bf450bb7c/python-hyper/h2/pull/281
og:image:altTrying to write a fix for #271. I was wondering if whitespace should be stripped before sending the headers in _build_headers_frames.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesunu
hostnamegithub.com
expected-hostnamegithub.com
Noned97a1befc96fc1512839eca15eb541061d491301144c9168e2985a8580319a49
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
released28643426bfe8d1692f8788961b8217e9003f493
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python-hyper/h2/pull/281/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fpull%2F281%2Fcommits
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%2F281%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python-hyper%2Fh2
Reloadhttps://github.com/python-hyper/h2/pull/281/commits
Reloadhttps://github.com/python-hyper/h2/pull/281/commits
Reloadhttps://github.com/python-hyper/h2/pull/281/commits
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
Lukasahttps://github.com/Lukasa
python-hyper:masterhttps://github.com/python-hyper/h2/tree/master
sunu:whitespacehttps://github.com/sunu/hyper-h2/tree/whitespace
Conversationhttps://github.com/python-hyper/h2/pull/281
Commits15 (15)https://github.com/python-hyper/h2/pull/281/commits
Checkshttps://github.com/python-hyper/h2/pull/281/checks
Files changedhttps://github.com/python-hyper/h2/pull/281/files
Reject header fields with surrounding whitespacehttps://github.com/python-hyper/h2/pull/281/commits#top
Lukasahttps://github.com/Lukasa
python-hyper:masterhttps://github.com/python-hyper/h2/tree/master
sunu:whitespacehttps://github.com/sunu/hyper-h2/tree/whitespace
Reject header fields with surrounding whitespacehttps://github.com/python-hyper/h2/pull/281/commits/f8a57266507ad278b10c234df288411f5dccc74f
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
f8a5726https://github.com/python-hyper/h2/pull/281/commits/f8a57266507ad278b10c234df288411f5dccc74f
https://github.com/python-hyper/h2/tree/f8a57266507ad278b10c234df288411f5dccc74f
Strip surrounding whitespace before sending headershttps://github.com/python-hyper/h2/pull/281/commits/7bfa2b63983142d2f3d9ce75e4d0f4c90632a97f
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
7bfa2b6https://github.com/python-hyper/h2/pull/281/commits/7bfa2b63983142d2f3d9ce75e4d0f4c90632a97f
https://github.com/python-hyper/h2/tree/7bfa2b63983142d2f3d9ce75e4d0f4c90632a97f
Remove redundant word in docstringhttps://github.com/python-hyper/h2/pull/281/commits/b4bb8d2ba4acd84580e738bb9a55c41ac9be8040
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
b4bb8d2https://github.com/python-hyper/h2/pull/281/commits/b4bb8d2ba4acd84580e738bb9a55c41ac9be8040
https://github.com/python-hyper/h2/tree/b4bb8d2ba4acd84580e738bb9a55c41ac9be8040
Use %r to make the invalid whitespace more visiblehttps://github.com/python-hyper/h2/pull/281/commits/3f02f2d2cba3f1678fd0d57109fe8da4494d74bc
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
3f02f2dhttps://github.com/python-hyper/h2/pull/281/commits/3f02f2d2cba3f1678fd0d57109fe8da4494d74bc
https://github.com/python-hyper/h2/tree/3f02f2d2cba3f1678fd0d57109fe8da4494d74bc
Merge branch 'master' into whitespacehttps://github.com/python-hyper/h2/pull/281/commits/d246cab48a20122a48468b4cc42dee701d0f7931
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
d246cabhttps://github.com/python-hyper/h2/pull/281/commits/d246cab48a20122a48468b4cc42dee701d0f7931
https://github.com/python-hyper/h2/tree/d246cab48a20122a48468b4cc42dee701d0f7931
Use a slightly faster method to check if header is surrounded by whitespacehttps://github.com/python-hyper/h2/pull/281/commits/2440f34e09f4e62a4add88f0048f41c4626a0e7c
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
2440f34https://github.com/python-hyper/h2/pull/281/commits/2440f34e09f4e62a4add88f0048f41c4626a0e7c
https://github.com/python-hyper/h2/tree/2440f34e09f4e62a4add88f0048f41c4626a0e7c
Refactor to use frozensets and whitespace codepoints on Py3https://github.com/python-hyper/h2/pull/281/commits/fe86467728f4f0e06af450ea507e9c2a41500b40
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
fe86467https://github.com/python-hyper/h2/pull/281/commits/fe86467728f4f0e06af450ea507e9c2a41500b40
https://github.com/python-hyper/h2/tree/fe86467728f4f0e06af450ea507e9c2a41500b40
Use separate frozensets on Python 2 and 3.https://github.com/python-hyper/h2/pull/281/commits/1c50b7d64fb61f6fb7e9b6c1a0161e673f2a07c4
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
1c50b7dhttps://github.com/python-hyper/h2/pull/281/commits/1c50b7d64fb61f6fb7e9b6c1a0161e673f2a07c4
https://github.com/python-hyper/h2/tree/1c50b7d64fb61f6fb7e9b6c1a0161e673f2a07c4
Check for python 2 instead of Python 3https://github.com/python-hyper/h2/pull/281/commits/14c3bd04f6240b8d0e64ecdf51f36c8cfebd2bf3
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
14c3bd0https://github.com/python-hyper/h2/pull/281/commits/14c3bd04f6240b8d0e64ecdf51f36c8cfebd2bf3
https://github.com/python-hyper/h2/tree/14c3bd04f6240b8d0e64ecdf51f36c8cfebd2bf3
Stop coverage from complaininghttps://github.com/python-hyper/h2/pull/281/commits/f2fcdf51850087eed9b0fde4c84161e17bc57948
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
f2fcdf5https://github.com/python-hyper/h2/pull/281/commits/f2fcdf51850087eed9b0fde4c84161e17bc57948
https://github.com/python-hyper/h2/tree/f2fcdf51850087eed9b0fde4c84161e17bc57948
Be specific while excluding code from coveragehttps://github.com/python-hyper/h2/pull/281/commits/e5689c8ec8878745626fa7966aece1630803c2b0
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
e5689c8https://github.com/python-hyper/h2/pull/281/commits/e5689c8ec8878745626fa7966aece1630803c2b0
https://github.com/python-hyper/h2/tree/e5689c8ec8878745626fa7966aece1630803c2b0
Merge branch 'master' into whitespacehttps://github.com/python-hyper/h2/pull/281/commits/b5046b31835db02c7674da08cc358adc3a4b1728
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
b5046b3https://github.com/python-hyper/h2/pull/281/commits/b5046b31835db02c7674da08cc358adc3a4b1728
https://github.com/python-hyper/h2/tree/b5046b31835db02c7674da08cc358adc3a4b1728
Raise ProtocolError for empty headershttps://github.com/python-hyper/h2/pull/281/commits/c0030afbeca650e1c1a885af8fe76abec8fa0577
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
c0030afhttps://github.com/python-hyper/h2/pull/281/commits/c0030afbeca650e1c1a885af8fe76abec8fa0577
https://github.com/python-hyper/h2/tree/c0030afbeca650e1c1a885af8fe76abec8fa0577
Allow empty header valueshttps://github.com/python-hyper/h2/pull/281/commits/a56993a4dde8b9d0092b49f40d43eee05862c77b
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
a56993ahttps://github.com/python-hyper/h2/pull/281/commits/a56993a4dde8b9d0092b49f40d43eee05862c77b
https://github.com/python-hyper/h2/tree/a56993a4dde8b9d0092b49f40d43eee05862c77b
Modify hypothesis strategy to always have non-empty header namehttps://github.com/python-hyper/h2/pull/281/commits/51478643d41634240540c76e60796f6cb08dcca0
https://github.com/sunu
sunuhttps://github.com/python-hyper/h2/commits?author=sunu
5147864https://github.com/python-hyper/h2/pull/281/commits/51478643d41634240540c76e60796f6cb08dcca0
https://github.com/python-hyper/h2/tree/51478643d41634240540c76e60796f6cb08dcca0
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.