René's URL Explorer Experiment


Title: "IndexError: index out of range" in _reject_surrounding_whitespace · Issue #1257 · python-hyper/h2 · GitHub

Open Graph Title: "IndexError: index out of range" in _reject_surrounding_whitespace · Issue #1257 · python-hyper/h2

X Title: "IndexError: index out of range" in _reject_surrounding_whitespace · Issue #1257 · python-hyper/h2

Description: Hello, I am working on integrating fuzzer to project h2. My goal is to include it in the oss-fuzz project. I believe that this can be a valuable contribution to the library, the importance of which is becoming more and more higher, among...

Open Graph Description: Hello, I am working on integrating fuzzer to project h2. My goal is to include it in the oss-fuzz project. I believe that this can be a valuable contribution to the library, the importance of which...

X Description: Hello, I am working on integrating fuzzer to project h2. My goal is to include it in the oss-fuzz project. I believe that this can be a valuable contribution to the library, the importance of which...

Opengraph URL: https://github.com/python-hyper/h2/issues/1257

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"IndexError: index out of range\" in _reject_surrounding_whitespace","articleBody":"Hello,\r\n\r\nI am working on integrating fuzzer to project `h2`. My goal is to include it in the `oss-fuzz` project. I believe that this can be a valuable contribution to the library, the importance of which is becoming more and more higher, among others due to the use by `httpx` - the library which popularity also growing. \r\n\r\nI identified the first problems and I would like to know if such problems are interesting for your project and your are interested to handle them.\r\n\r\n```python\r\nimport h2.connection\r\nimport h2.config\r\nfrom h2.exceptions import ProtocolError\r\n\r\npayload = b'\\x00\\x00\\x08\\x01\\x05\\xef\\x00\\x00@\\x00\\x00\\x05\\x00\\x00\\x00\\x00\\x04\\x8c\\x00'\r\nconfig = h2.config.H2Configuration()\r\nconn = h2.connection.H2Connection(config=config)\r\ntry:\r\n    conn.receive_data(payload)\r\n    conn.data_to_send()\r\nexcept ProtocolError:\r\n    pass\r\n```\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/tmp/h2-fuzz/test2.py\", line 9, in \u003cmodule>\r\n    conn.receive_data(payload)\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/connection.py\", line 1463, in receive_data\r\n    events.extend(self._receive_frame(frame))\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/connection.py\", line 1486, in _receive_frame\r\n    frames, events = self._frame_dispatch_table[frame.__class__](frame)\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/connection.py\", line 1560, in _receive_headers_frame\r\n    frames, stream_events = stream.receive_headers(\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/stream.py\", line 1057, in receive_headers\r\n    events[0].headers = self._process_received_headers(\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/stream.py\", line 1300, in _process_received_headers\r\n    return list(headers)\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/utilities.py\", line 492, in inner\r\n    for header in headers:\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/utilities.py\", line 437, in _validate_host_authority_header\r\n    for header in headers:\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/utilities.py\", line 331, in _reject_pseudo_header_fields\r\n    for header in headers:\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/utilities.py\", line 287, in _reject_connection_header\r\n    for header in headers:\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/utilities.py\", line 271, in _reject_te\r\n    for header in headers:\r\n  File \"/tmp/tmp.mokMU0wrkK/lib/python3.9/site-packages/h2/utilities.py\", line 255, in _reject_surrounding_whitespace\r\n    if header[0][0] in _WHITESPACE or header[0][-1] in _WHITESPACE:\r\nIndexError: index out of range\r\n```\r\n\r\n","author":{"url":"https://github.com/ad-m","@type":"Person","name":"ad-m"},"datePublished":"2021-09-02T19:59:04Z","url":"https://github.com/python-hyper/h2/issues/1257"}

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:3bed405c-1b56-896a-fb00-849fe3d094aa
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE526:3373A3:3852D1B:4B4106E:6B06EFA2
html-safe-nonce6dbdf3d8b012b0d51fc01d840eab5e863c27af6a4932a1d5750efd83ba1ff85e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTI2OjMzNzNBMzozODUyRDFCOjRCNDEwNkU6NkIwNkVGQTIiLCJ2aXNpdG9yX2lkIjoiMjk5MDM2MTIzNjM1NDgyMjA1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac59038004abe53fda0d6e6802e6c3bfcd9b3d6060e96ff00283b4341ed8d06f0a
hovercard-subject-tagissue:987109405
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-hyper/h2/1257/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c98e0db66ba39a64fd72441a990ef444a6f00fbf92ca8ec656691787b1a2c5f0/python-hyper/h2/issues/1257
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c98e0db66ba39a64fd72441a990ef444a6f00fbf92ca8ec656691787b1a2c5f0/python-hyper/h2/issues/1257
og:image:altHello, I am working on integrating fuzzer to project h2. My goal is to include it in the oss-fuzz project. I believe that this can be a valuable contribution to the library, the importance of which...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamead-m
hostnamegithub.com
expected-hostnamegithub.com
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-preview
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
release891bde3f438884e9c6c7ccd826f33805910a978b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-hyper/h2/issues/1257#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fh2%2Fissues%2F1257
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%2Fissues%2F1257
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-hyper%2Fh2
Reloadhttps://github.com/python-hyper/h2/issues/1257
Reloadhttps://github.com/python-hyper/h2/issues/1257
Reloadhttps://github.com/python-hyper/h2/issues/1257
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
New issuehttps://github.com/login?return_to=https://github.com/python-hyper/h2/issues/1257
New issuehttps://github.com/login?return_to=https://github.com/python-hyper/h2/issues/1257
#1259https://github.com/python-hyper/h2/pull/1259
"IndexError: index out of range" in _reject_surrounding_whitespacehttps://github.com/python-hyper/h2/issues/1257#top
#1259https://github.com/python-hyper/h2/pull/1259
https://github.com/ad-m
ad-mhttps://github.com/ad-m
on Sep 2, 2021https://github.com/python-hyper/h2/issues/1257#issue-987109405
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
on Sep 2, 2021https://github.com/python-hyper/h2/issues/1257#issuecomment-912018039
https://github.com/ad-m
ad-mhttps://github.com/ad-m
on Sep 2, 2021https://github.com/python-hyper/h2/issues/1257#issuecomment-912025270
https://google.github.io/oss-fuzz/getting-started/continuous-integration/https://google.github.io/oss-fuzz/getting-started/continuous-integration/
https://google.github.io/oss-fuzz/architecture/https://google.github.io/oss-fuzz/architecture/
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
on Sep 2, 2021https://github.com/python-hyper/h2/issues/1257#issuecomment-912053088
@sethmlarsonhttps://github.com/sethmlarson
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
on Sep 2, 2021https://github.com/python-hyper/h2/issues/1257#issuecomment-912078140
@Kriechihttps://github.com/Kriechi
RFC 7230 Section 3.2https://datatracker.ietf.org/doc/html/rfc7230#section-3.2
collected ABNF appendixhttps://datatracker.ietf.org/doc/html/rfc7230#appendix-B
https://github.com/Kriechi
Kriechihttps://github.com/Kriechi
on Sep 3, 2021https://github.com/python-hyper/h2/issues/1257#issuecomment-912727204
@sethmlarsonhttps://github.com/sethmlarson
Kriechihttps://github.com/Kriechi
on Sep 7, 2021https://github.com/python-hyper/h2/issues/1257#event-5267792562
reject empty header nameshttps://github.com/Kriechi/hyper-h2/commit/c9231daab8bfea5a7a790d13d0dc14d41e013eec
https://docs.github.com/articles/closing-issues-via-commit-messages
c9231dahttps://github.com/Kriechi/hyper-h2/commit/c9231daab8bfea5a7a790d13d0dc14d41e013eec
reject empty header nameshttps://github.com/Kriechi/hyper-h2/commit/1140e3b9cd70fbfdbae013589c85993105bbc78b
https://docs.github.com/articles/closing-issues-via-commit-messages
1140e3bhttps://github.com/Kriechi/hyper-h2/commit/1140e3b9cd70fbfdbae013589c85993105bbc78b
Kriechihttps://github.com/Kriechi
completedhttps://github.com/python-hyper/h2/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#1259https://github.com/python-hyper/h2/pull/1259
on Sep 9, 2021https://github.com/python-hyper/h2/issues/1257#event-5279955164
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-hyper/h2/issues/1257
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-hyper/h2/issues/1257
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.