René's URL Explorer Experiment


Title: Resolution result is not consistent with RFC 3986 when the base has "rootless" path without authority · Issue #84 · python-hyper/rfc3986 · GitHub

Open Graph Title: Resolution result is not consistent with RFC 3986 when the base has "rootless" path without authority · Issue #84 · python-hyper/rfc3986

X Title: Resolution result is not consistent with RFC 3986 when the base has "rootless" path without authority · Issue #84 · python-hyper/rfc3986

Description: remove_dot_segments defined in RFC 3986 (section 5.2.4) sometimes add a leading slash when the base path is "rootless". STEP OUTPUT BUFFER INPUT BUFFER 1 : foo/../baz 2E: foo /../baz 2C: /baz 2E: /baz So, resolving ../baz against scheme:...

Open Graph Description: remove_dot_segments defined in RFC 3986 (section 5.2.4) sometimes add a leading slash when the base path is "rootless". STEP OUTPUT BUFFER INPUT BUFFER 1 : foo/../baz 2E: foo /../baz 2C: /baz 2E: /...

X Description: remove_dot_segments defined in RFC 3986 (section 5.2.4) sometimes add a leading slash when the base path is "rootless". STEP OUTPUT BUFFER INPUT BUFFER 1 : foo/../baz 2E: foo /../baz 2C: ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Resolution result is not consistent with RFC 3986 when the base has \"rootless\" path without authority","articleBody":"`remove_dot_segments` defined in RFC 3986 ([section 5.2.4](https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4)) sometimes add a leading slash when the base path is \"rootless\".\r\n\r\n```\r\nSTEP   OUTPUT BUFFER         INPUT BUFFER\r\n\r\n 1 :                         foo/../baz\r\n 2E:   foo                   /../baz\r\n 2C:                         /baz\r\n 2E:   /baz\r\n```\r\n\r\nSo, resolving `../baz` against `scheme:foo/bar` should result in `scheme:/baz`.\r\nHowever, output of this library differs from that.\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:foo/bar')\r\n>>> r = uri_reference('../baz')\r\n>>> t = r.resolve_with(b)\r\n>>> t\r\nURIReference(scheme='scheme', authority=None, path='baz', query=None, fragment=None)\r\n>>> t.unsplit()\r\n'scheme:baz'\r\n>>>\r\n```\r\n\r\nI think there should be special handling such as \"when `..` segment appears but `output` stack is empty, set `prepend_slash` flag\" or something like that.","author":{"url":"https://github.com/lo48576","@type":"Person","name":"lo48576"},"datePublished":"2022-01-10T12:00:12Z","url":"https://github.com/python-hyper/rfc3986/issues/84"}

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:e2871143-4421-6b8c-078b-405913161010
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE7E4:552A0:453CC3:5A91A7:6B025BFF
html-safe-nonce2f4feda716f3144ba118b08e0218ebc5080abbfba79096e244a5a3d3944d9e29
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0U0OjU1MkEwOjQ1M0NDMzo1QTkxQTc6NkIwMjVCRkYiLCJ2aXNpdG9yX2lkIjoiNjQ0MjI2NDE3NDg0NzQ4Mjg3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccd865066197d8c08cac31f485ecb64f4fc2bf77a38fa75cd76d09b04f81277d7
hovercard-subject-tagissue:1097812451
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/84/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4b6b85154244438381fd03e571f99c2e68d6f53c58c9db68754a9079c5f7ab5c/python-hyper/rfc3986/issues/84
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b6b85154244438381fd03e571f99c2e68d6f53c58c9db68754a9079c5f7ab5c/python-hyper/rfc3986/issues/84
og:image:altremove_dot_segments defined in RFC 3986 (section 5.2.4) sometimes add a leading slash when the base path is "rootless". STEP OUTPUT BUFFER INPUT BUFFER 1 : foo/../baz 2E: foo /../baz 2C: /baz 2E: /...
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/84#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Frfc3986%2Fissues%2F84
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%2F84
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/84
Reloadhttps://github.com/python-hyper/rfc3986/issues/84
Reloadhttps://github.com/python-hyper/rfc3986/issues/84
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/84
New issuehttps://github.com/login?return_to=https://github.com/python-hyper/rfc3986/issues/84
Jacob-Met/rfc3986#6https://github.com/Jacob-Met/rfc3986/pull/6
#156https://github.com/python-hyper/rfc3986/pull/156
Resolution result is not consistent with RFC 3986 when the base has "rootless" path without authorityhttps://github.com/python-hyper/rfc3986/issues/84#top
Jacob-Met/rfc3986#6https://github.com/Jacob-Met/rfc3986/pull/6
#156https://github.com/python-hyper/rfc3986/pull/156
https://github.com/lo48576
lo48576https://github.com/lo48576
on Jan 10, 2022https://github.com/python-hyper/rfc3986/issues/84#issue-1097812451
section 5.2.4https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4
lo48576https://github.com/lo48576
on Jan 10, 2022https://github.com/python-hyper/rfc3986/issues/84#event-5865476541
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-hyper/rfc3986/issues/84
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-hyper/rfc3986/issues/84
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.