René's URL Explorer Experiment


Title: The first path segment is unexpectedly interpreted as an authority after normalization · Issue #85 · python-hyper/rfc3986 · GitHub

Open Graph Title: The first path segment is unexpectedly interpreted as an authority after normalization · Issue #85 · python-hyper/rfc3986

X Title: The first path segment is unexpectedly interpreted as an authority after normalization · Issue #85 · python-hyper/rfc3986

Description: scheme:/..///bar has scheme="scheme", authority=None, path=/..///bar. However, after normalization, it has scheme="scheme", authority="bar". Consider t1 as an IRI ..///bar resolved against scheme:. t1 should have scheme="scheme" and auth...

Open Graph Description: scheme:/..///bar has scheme="scheme", authority=None, path=/..///bar. However, after normalization, it has scheme="scheme", authority="bar". Consider t1 as an IRI ..///bar resolved against scheme:....

X Description: scheme:/..///bar has scheme="scheme", authority=None, path=/..///bar. However, after normalization, it has scheme="scheme", authority="bar". Consider t1 as an IRI ..//...

Opengraph URL: https://github.com/python-hyper/rfc3986/issues/85

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The first path segment is unexpectedly interpreted as an authority after normalization","articleBody":"* `scheme:/..///bar` has scheme=`\"scheme\"`, authority=`None`, path=`/..///bar`.\r\n  However, after normalization, it has scheme=`\"scheme\"`, authority=`\"bar\"`.\r\n* Consider t1 as an IRI `..///bar` resolved against `scheme:`.\r\n  t1 should have scheme=`\"scheme\"` and authority=`None` (since `..///bar` does not contain authority).\r\n  However, resulting string is `scheme://bar`, it has authority=`bar`.\r\n\r\nAnd some more examples:\r\n\r\n```\r\n$ python\r\nPython 3.9.9 (main, Jan 10 2022, 18:52:39)\r\n[GCC 11.2.1 20211127] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> from rfc3986 import uri_reference\r\n>>> b = uri_reference('scheme:')\r\n>>> r1 = uri_reference('..///bar')\r\n>>> t1 = r1.resolve_with(b)\r\n>>> t1\r\nURIReference(scheme='scheme', authority=None, path='//bar', query=None, fragment=None)\r\n>>> t1.unsplit()\r\n'scheme://bar'\r\n>>> r2 = uri_reference('/..///bar')\r\n>>> r2.resolve_with(b)\r\nURIReference(scheme='scheme', authority=None, path='//bar', query=None, fragment=None)\r\n>>> uri_reference('scheme:/..///bar').normalize()\r\nURIReference(scheme='scheme', authority=None, path='//bar', query=None, fragment=None)\r\n>>> uri_reference('scheme:/..///bar').normalize().unsplit()\r\n'scheme://bar'\r\n```\r\n\r\nI'm not sure how this should handled.\r\nCollapsing the `//` at the beginning is not explicitly allowed by RFC 3986, so I think the normalization and the resolution cannot produce valid output and should fail in this case.\r\n(But RFC 3986 does not seem to state that they can fail!)\r\n\r\nThis can caused by normalization during resolution, so #84 may also be affected by this issue.","author":{"url":"https://github.com/lo48576","@type":"Person","name":"lo48576"},"datePublished":"2022-01-10T12:33:58Z","url":"https://github.com/python-hyper/rfc3986/issues/85"}

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:42d77b26-6277-ee1a-6c7f-a762be188ab8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id95C2:B1B84:4164427:52F22D7:6B025FA3
html-safe-nonce04799b93587425f26da6b37bfe752608d1f3995e20372d968e2552afadeda426
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUMyOkIxQjg0OjQxNjQ0Mjc6NTJGMjJENzo2QjAyNUZBMyIsInZpc2l0b3JfaWQiOiIyMjk4ODQzMjc1MTczNDUzNzMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3e4e0e80ef77c54afb53f202865ee24552b794d900f786c4ec8c2fd8a8dfb28f
hovercard-subject-tagissue:1097846843
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/rfc3986/85/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d7817dc6fc1f3a56a04de27467e2b195e10d3e8faa044226e8e45d29e37596d9/python-hyper/rfc3986/issues/85
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d7817dc6fc1f3a56a04de27467e2b195e10d3e8faa044226e8e45d29e37596d9/python-hyper/rfc3986/issues/85
og:image:altscheme:/..///bar has scheme="scheme", authority=None, path=/..///bar. However, after normalization, it has scheme="scheme", authority="bar". Consider t1 as an IRI ..///bar resolved against scheme:....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelo48576
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python-hyper/rfc3986 git https://github.com/python-hyper/rfc3986.git
octolytics-dimension-user_id13035907
octolytics-dimension-user_loginpython-hyper
octolytics-dimension-repository_id21205959
octolytics-dimension-repository_nwopython-hyper/rfc3986
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21205959
octolytics-dimension-repository_network_root_nwopython-hyper/rfc3986
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-hyper/rfc3986/issues/85#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Frfc3986%2Fissues%2F85
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%2Frfc3986%2Fissues%2F85
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%2Frfc3986
Reloadhttps://github.com/python-hyper/rfc3986/issues/85
Reloadhttps://github.com/python-hyper/rfc3986/issues/85
Reloadhttps://github.com/python-hyper/rfc3986/issues/85
python-hyperhttps://github.com/python-hyper
rfc3986https://github.com/python-hyper/rfc3986
Codehttps://github.com/python-hyper/rfc3986
Issues21 (21)https://github.com/python-hyper/rfc3986/issues
Pull requests13 (13)https://github.com/python-hyper/rfc3986/pulls
Actionshttps://github.com/python-hyper/rfc3986/actions
Projectshttps://github.com/python-hyper/rfc3986/projects
Wikihttps://github.com/python-hyper/rfc3986/wiki
Security and qualityhttps://github.com/python-hyper/rfc3986/security
Insightshttps://github.com/python-hyper/rfc3986/insights
https://github.com/python-hyper/rfc3986
New issuehttps://github.com/login?return_to=https://github.com/python-hyper/rfc3986/issues/85
New issuehttps://github.com/login?return_to=https://github.com/python-hyper/rfc3986/issues/85
The first path segment is unexpectedly interpreted as an authority after normalizationhttps://github.com/python-hyper/rfc3986/issues/85#top
https://github.com/lo48576
lo48576https://github.com/lo48576
on Jan 10, 2022https://github.com/python-hyper/rfc3986/issues/85#issue-1097846843
#84https://github.com/python-hyper/rfc3986/issues/84
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-hyper/rfc3986/issues/85
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-hyper/rfc3986/issues/85
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.