René's URL Explorer Experiment


Title: WHATWG URL API: base ignored if relative path starts with a double slash · Issue #30776 · nodejs/node · GitHub

Open Graph Title: WHATWG URL API: base ignored if relative path starts with a double slash · Issue #30776 · nodejs/node

X Title: WHATWG URL API: base ignored if relative path starts with a double slash · Issue #30776 · nodejs/node

Description: Version: 12.13.1 Platform: all Subsystem: url Instantiating a new WHATWG URL with a base option, and a relative URL starting with a double slash ends up with the base option being ignored. How to reproduce const foo = new URL('//foo/bar'...

Open Graph Description: Version: 12.13.1 Platform: all Subsystem: url Instantiating a new WHATWG URL with a base option, and a relative URL starting with a double slash ends up with the base option being ignored. How to r...

X Description: Version: 12.13.1 Platform: all Subsystem: url Instantiating a new WHATWG URL with a base option, and a relative URL starting with a double slash ends up with the base option being ignored. How to r...

Opengraph URL: https://github.com/nodejs/node/issues/30776

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WHATWG URL API: base ignored if relative path starts with a double slash","articleBody":"* **Version**: 12.13.1\r\n* **Platform**: all\r\n* **Subsystem**: url\r\n\r\nInstantiating a new WHATWG URL with a base option, and a relative URL starting with a double slash ends up with the base option being ignored.\r\n\r\n**How to reproduce**\r\n\r\n```js\r\nconst foo = new URL('//foo/bar', 'http://fake');\r\n```\r\n\r\n**Expected result**\r\n\r\n```js\r\nURL {\r\n  href: 'http://fake//foo/bar',\r\n  origin: 'http://fake',\r\n  protocol: 'http:',\r\n  username: '',\r\n  password: '',\r\n  host: 'fake',\r\n  hostname: 'fake',\r\n  port: '',\r\n  pathname: '//foo/bar',\r\n  search: '',\r\n  searchParams: URLSearchParams {},\r\n  hash: ''\r\n}\r\n```\r\n\r\n**Actual result**\r\n\r\n```js\r\nURL {\r\n  href: 'http://foo/bar',\r\n  origin: 'http://foo',\r\n  protocol: 'http:',\r\n  username: '',\r\n  password: '',\r\n  host: 'foo',\r\n  hostname: 'foo',\r\n  port: '',\r\n  pathname: '/bar',\r\n  search: '',\r\n  searchParams: URLSearchParams {},\r\n  hash: ''\r\n}\r\n```\r\n","author":{"url":"https://github.com/scottinet","@type":"Person","name":"scottinet"},"datePublished":"2019-12-03T15:54:20Z","url":"https://github.com/nodejs/node/issues/30776"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6b271ad6-82be-f98a-6e0a-b135480ada0a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8BD4:1F76:A4889B:E14803:6AFB7ED4
html-safe-nonce25bb9a5bb53512845624ee1d806e6150384473d953d9185103d92eb10381beba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkQ0OjFGNzY6QTQ4ODlCOkUxNDgwMzo2QUZCN0VENCIsInZpc2l0b3JfaWQiOiI3MTM2Nzc3Mjk1ODk2NDc3Mzk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac57d5513ae185271440ee0b33f67749d20ac4dee3ae7dc3d411ed4d25a21e791f
hovercard-subject-tagissue:532083961
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/nodejs/node/30776/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2e6d89196f3498a4f1b3f824548d4231ce76270f152694932ef1bf47f4a02c6c/nodejs/node/issues/30776
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2e6d89196f3498a4f1b3f824548d4231ce76270f152694932ef1bf47f4a02c6c/nodejs/node/issues/30776
og:image:altVersion: 12.13.1 Platform: all Subsystem: url Instantiating a new WHATWG URL with a base option, and a relative URL starting with a double slash ends up with the base option being ignored. How to r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamescottinet
hostnamegithub.com
expected-hostnamegithub.com
Noneef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
releasebc3703b4dcbe820d1284ef63c88b001c850be25e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/30776#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F30776
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%2Fnodejs%2Fnode%2Fissues%2F30776
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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/30776
Reloadhttps://github.com/nodejs/node/issues/30776
Reloadhttps://github.com/nodejs/node/issues/30776
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues643 (643)https://github.com/nodejs/node/issues
Pull requests681 (681)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30776
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30776
WHATWG URL API: base ignored if relative path starts with a double slashhttps://github.com/nodejs/node/issues/30776#top
invalidIssues and PRs that are invalid.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22invalid%22
whatwg-urlIssues and PRs related to the WHATWG URL implementation.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22whatwg-url%22
https://github.com/scottinet
scottinethttps://github.com/scottinet
on Dec 3, 2019https://github.com/nodejs/node/issues/30776#issue-532083961
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Dec 3, 2019https://github.com/nodejs/node/issues/30776#issuecomment-561258992
jasnellhttps://github.com/jasnell
whatwg-urlIssues and PRs related to the WHATWG URL implementation.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22whatwg-url%22
invalidIssues and PRs that are invalid.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22invalid%22
on Dec 3, 2019https://github.com/nodejs/node/issues/30776#event-2850841619
https://github.com/scottinet
scottinethttps://github.com/scottinet
on Dec 3, 2019https://github.com/nodejs/node/issues/30776#issuecomment-561262523
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Dec 3, 2019https://github.com/nodejs/node/issues/30776#issuecomment-561267138
https://github.com/scottinet
scottinethttps://github.com/scottinet
on Dec 3, 2019https://github.com/nodejs/node/issues/30776#issuecomment-561336447
scottinethttps://github.com/scottinet
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 3, 2019https://github.com/nodejs/node/issues/30776#event-2851483049
scottinethttps://github.com/scottinet
on Dec 6, 2019https://github.com/nodejs/node/issues/30776#event-2860929705
Fix URL parsing w/ trailing slash & querystring (#1539)https://github.com/kuzzleio/kuzzle/commit/6e887841ab43ae9b91c440b1894ab846a3df80d2
#1539https://github.com/kuzzleio/kuzzle/pull/1539
6e88784https://github.com/kuzzleio/kuzzle/commit/6e887841ab43ae9b91c440b1894ab846a3df80d2
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/30776
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/30776
invalidIssues and PRs that are invalid.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22invalid%22
whatwg-urlIssues and PRs related to the WHATWG URL implementation.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22whatwg-url%22
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.