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: Trying to write a fix for #271. I was wondering if whitespace should be stripped before sending the headers in _build_headers_frames.

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.114.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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:02f0dd09-7b21-d3e5-d6e2-6d7787aef91a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A4E:32E0F9:38A54DF:4BB51EC:6B06F493
html-safe-nonce20c9c0747aee9b0b0d1cfede8a7dcb0d4d35a6b5d0a001a1e4e40d3cf6d69d44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTRFOjMyRTBGOTozOEE1NERGOjRCQjUxRUM6NkIwNkY0OTMiLCJ2aXNpdG9yX2lkIjoiOTAzMTA0ODExNDcxNDYzNzQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdd4b1d3a0bf80aed4319cbb9952d3c44e566b5053555ce0cb33dd5d8800fcaa1
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-hyper/h2/pull/281/files
twitter:imagehttps://avatars.githubusercontent.com/u/1142203?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1142203?s=400&v=4
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:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release891bde3f438884e9c6c7ccd826f33805910a978b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-hyper/h2/pull/281/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fpull%2F281%2Ffiles
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%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python-hyper%2Fh2
Reloadhttps://github.com/python-hyper/h2/pull/281/files
Reloadhttps://github.com/python-hyper/h2/pull/281/files
Reloadhttps://github.com/python-hyper/h2/pull/281/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-hyper%2Fh2%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-hyper%2Fh2%2Fissues%2Fnew%2Fchoose
Lukasahttps://github.com/Lukasa
python-hyper:masterhttps://github.com/python-hyper/h2/tree/master
sunu:whitespacehttps://github.com/sunu/hyper-h2/tree/whitespace
Conversation 32 https://github.com/python-hyper/h2/pull/281
Commits 15 https://github.com/python-hyper/h2/pull/281/commits
Checks 0 https://github.com/python-hyper/h2/pull/281/checks
Files changed https://github.com/python-hyper/h2/pull/281/files
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
Reject header fields with surrounding whitespace https://github.com/python-hyper/h2/pull/281/files#top
Show all changes 15 commits https://github.com/python-hyper/h2/pull/281/files
f8a5726 Reject header fields with surrounding whitespace sunu Aug 7, 2016 https://github.com/python-hyper/h2/pull/281/commits/f8a57266507ad278b10c234df288411f5dccc74f
7bfa2b6 Strip surrounding whitespace before sending headers sunu Aug 7, 2016 https://github.com/python-hyper/h2/pull/281/commits/7bfa2b63983142d2f3d9ce75e4d0f4c90632a97f
b4bb8d2 Remove redundant word in docstring sunu Aug 8, 2016 https://github.com/python-hyper/h2/pull/281/commits/b4bb8d2ba4acd84580e738bb9a55c41ac9be8040
3f02f2d Use %r to make the invalid whitespace more visible sunu Aug 8, 2016 https://github.com/python-hyper/h2/pull/281/commits/3f02f2d2cba3f1678fd0d57109fe8da4494d74bc
d246cab Merge branch 'master' into whitespace sunu Aug 25, 2016 https://github.com/python-hyper/h2/pull/281/commits/d246cab48a20122a48468b4cc42dee701d0f7931
2440f34 Use a slightly faster method to check if header is surrounded by whit… sunu Aug 25, 2016 https://github.com/python-hyper/h2/pull/281/commits/2440f34e09f4e62a4add88f0048f41c4626a0e7c
fe86467 Refactor to use frozensets and whitespace codepoints on Py3 sunu Aug 25, 2016 https://github.com/python-hyper/h2/pull/281/commits/fe86467728f4f0e06af450ea507e9c2a41500b40
1c50b7d Use separate frozensets on Python 2 and 3. sunu Aug 25, 2016 https://github.com/python-hyper/h2/pull/281/commits/1c50b7d64fb61f6fb7e9b6c1a0161e673f2a07c4
14c3bd0 Check for python 2 instead of Python 3 sunu Aug 26, 2016 https://github.com/python-hyper/h2/pull/281/commits/14c3bd04f6240b8d0e64ecdf51f36c8cfebd2bf3
f2fcdf5 Stop coverage from complaining sunu Aug 26, 2016 https://github.com/python-hyper/h2/pull/281/commits/f2fcdf51850087eed9b0fde4c84161e17bc57948
e5689c8 Be specific while excluding code from coverage sunu Aug 27, 2016 https://github.com/python-hyper/h2/pull/281/commits/e5689c8ec8878745626fa7966aece1630803c2b0
b5046b3 Merge branch 'master' into whitespace sunu Aug 27, 2016 https://github.com/python-hyper/h2/pull/281/commits/b5046b31835db02c7674da08cc358adc3a4b1728
c0030af Raise ProtocolError for empty headers sunu Aug 27, 2016 https://github.com/python-hyper/h2/pull/281/commits/c0030afbeca650e1c1a885af8fe76abec8fa0577
a56993a Allow empty header values sunu Aug 29, 2016 https://github.com/python-hyper/h2/pull/281/commits/a56993a4dde8b9d0092b49f40d43eee05862c77b
5147864 Modify hypothesis strategy to always have non-empty header name sunu Aug 29, 2016 https://github.com/python-hyper/h2/pull/281/commits/51478643d41634240540c76e60796f6cb08dcca0
Clear filters https://github.com/python-hyper/h2/pull/281/files
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
utilities.py https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
test_invalid_headers.py https://github.com/python-hyper/h2/pull/281/files#diff-429715aa43394e79a56ec4a1691b69cd977eacee477e39abb651704a87b13143
h2/utilities.pyhttps://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
View file https://github.com/sunu/hyper-h2/blob/51478643d41634240540c76e60796f6cb08dcca0/h2/utilities.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/h2/pull/281/{{ revealButtonHref }}
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
Lukasahttps://github.com/Lukasa
Aug 26, 2016https://github.com/python-hyper/h2/pull/281/files#r76414797
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
sunuhttps://github.com/sunu
Aug 27, 2016https://github.com/python-hyper/h2/pull/281/files#r76520810
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@Lukasahttps://github.com/Lukasa
https://github.com/python-hyper/hyper-h2/blob/7a80186834fd344628941bc39e333d0ea108652e/test/test_invalid_headers.py#L211https://github.com/python-hyper/hyper-h2/blob/7a80186834fd344628941bc39e333d0ea108652e/test/test_invalid_headers.py#L211
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
Lukasahttps://github.com/Lukasa
Aug 27, 2016https://github.com/python-hyper/h2/pull/281/files#r76521191
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
Lukasahttps://github.com/Lukasa
Aug 7, 2016https://github.com/python-hyper/h2/pull/281/files#r73806687
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
alexwlchanhttps://github.com/alexwlchan
Aug 7, 2016https://github.com/python-hyper/h2/pull/281/files#r73810474
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
Lukasahttps://github.com/Lukasa
Aug 8, 2016https://github.com/python-hyper/h2/pull/281/files#r73839833
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
https://github.com/python-hyper/h2/pull/281/files#diff-8f14206df80e22b2823fb9caa24e751f31c2118acf77eac025e77de413edf319
test/test_invalid_headers.pyhttps://github.com/python-hyper/h2/pull/281/files#diff-429715aa43394e79a56ec4a1691b69cd977eacee477e39abb651704a87b13143
View file https://github.com/sunu/hyper-h2/blob/51478643d41634240540c76e60796f6cb08dcca0/test/test_invalid_headers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/h2/pull/281/{{ revealButtonHref }}
https://github.com/python-hyper/h2/pull/281/files#diff-429715aa43394e79a56ec4a1691b69cd977eacee477e39abb651704a87b13143
https://github.com/python-hyper/h2/pull/281/files#diff-429715aa43394e79a56ec4a1691b69cd977eacee477e39abb651704a87b13143
alexwlchanhttps://github.com/alexwlchan
Aug 7, 2016https://github.com/python-hyper/h2/pull/281/files#r73806134
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-hyper/h2/pull/281/files
https://github.com/python-hyper/h2/pull/281/files#diff-429715aa43394e79a56ec4a1691b69cd977eacee477e39abb651704a87b13143
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.