René's URL Explorer Experiment


Title: Unreserved characters are escaped when making a HTTP request · Issue #33037 · nodejs/node · GitHub

Open Graph Title: Unreserved characters are escaped when making a HTTP request · Issue #33037 · nodejs/node

X Title: Unreserved characters are escaped when making a HTTP request · Issue #33037 · nodejs/node

Description: Version: >=10.20.1 Platform: all Subsystem: http What steps will reproduce the bug? const http = require('http'); const url = new URL('http://httpbin.org/anything?a=~'); url.search = url.searchParams.toString(); // trigger normalization ...

Open Graph Description: Version: >=10.20.1 Platform: all Subsystem: http What steps will reproduce the bug? const http = require('http'); const url = new URL('http://httpbin.org/anything?a=~'); url.search = url.searchPara...

X Description: Version: >=10.20.1 Platform: all Subsystem: http What steps will reproduce the bug? const http = require('http'); const url = new URL('http://httpbin.org/anything?a=~'); url.sear...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unreserved characters are escaped when making a HTTP request","articleBody":"* **Version**: >=10.20.1\r\n* **Platform**: all\r\n* **Subsystem**: http\r\n\r\n### What steps will reproduce the bug?\r\n\r\n```js\r\nconst http = require('http');\r\n\r\nconst url = new URL('http://httpbin.org/anything?a=~');\r\nurl.search = url.searchParams.toString(); // trigger normalization\r\n\r\nconst request = http.get(url, response => {\r\n    const chunks = [];\r\n\r\n    response.on('data', chunk => {\r\n        chunks.push(chunk);\r\n    });\r\n\r\n    response.once('end', () => {\r\n        console.log(request._header);\r\n        // Actual:\r\n        // GET /anything?a=%7E\r\n        //\r\n        // Expected:\r\n        // GET /anything?a=~\r\n    });\r\n})\r\n```\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nAlways.\r\n\r\n### What is the expected behavior?\r\n\r\n```\r\nGET /anything?a=~\r\n```\r\n\r\n### What do you see instead?\r\n\r\n```\r\nGET /anything?a=%7E\r\n```\r\n\r\n### Additional information\r\n\r\n> According to tools.ietf.org/html/rfc3986#section-2.3 tilde is unreserved and should not encoded by URI producers.\r\n\r\nhttps://github.com/sindresorhus/got/issues/1180#issuecomment-618831326\r\n","author":{"url":"https://github.com/szmarczak","@type":"Person","name":"szmarczak"},"datePublished":"2020-04-24T08:29:47Z","url":"https://github.com/nodejs/node/issues/33037"}

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:4af18ef8-0572-2539-e78a-ef8b68e4d156
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB046:36D84F:67563E:89E442:6AED211C
html-safe-nonce9bbc29b53388c61601d533c059ceb3d7f8d3db7210e56ee3e7bd643afeb23dec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDQ2OjM2RDg0Rjo2NzU2M0U6ODlFNDQyOjZBRUQyMTFDIiwidmlzaXRvcl9pZCI6IjIxMzExMTY5NDI0NzMxMDk3ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3216cabf059eb93ad4c4d9f4d2241e2550510ca3dbe5bd741db5429d72a0f206
hovercard-subject-tagissue:606138069
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/33037/issue_layout
twitter:imagehttps://opengraph.githubassets.com/04d07917922c6803e59f3bbe153db0ed18a584235afc71a03b8dc6f7608aa04b/nodejs/node/issues/33037
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04d07917922c6803e59f3bbe153db0ed18a584235afc71a03b8dc6f7608aa04b/nodejs/node/issues/33037
og:image:altVersion: >=10.20.1 Platform: all Subsystem: http What steps will reproduce the bug? const http = require('http'); const url = new URL('http://httpbin.org/anything?a=~'); url.search = url.searchPara...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameszmarczak
hostnamegithub.com
expected-hostnamegithub.com
Nonee3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6
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
release707a24b346ac8a82878b9c084efaa38a997660cb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/33037#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F33037
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%2F33037
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/33037
Reloadhttps://github.com/nodejs/node/issues/33037
Reloadhttps://github.com/nodejs/node/issues/33037
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)https://github.com/nodejs/node/issues
Pull requests666 (666)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/33037
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/33037
Unreserved characters are escaped when making a HTTP requesthttps://github.com/nodejs/node/issues/33037#top
known limitationIssues that are identified as known limitations.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22known%20limitation%22
urlIssues and PRs related to the legacy built-in url module.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22url%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/szmarczak
szmarczakhttps://github.com/szmarczak
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issue-606138069
sindresorhus/got#1180 (comment)https://github.com/sindresorhus/got/issues/1180#issuecomment-618831326
Nexthttps://github.com/nodejs/node/issues/33037?timeline_page=1
himself65https://github.com/himself65
urlIssues and PRs related to the legacy built-in url module.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22url%22
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
httpIssues and PRs related to the http subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22http%22
urlIssues and PRs related to the legacy built-in url module.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22url%22
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#event-3268426077
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619046804
The spechttps://url.spec.whatwg.org/#interface-urlsearchparams
serializationhttps://url.spec.whatwg.org/#concept-urlencoded-serializer
@himself65https://github.com/himself65
himself65https://github.com/himself65
confirmed-bugIssues and PRs for confirmed bugs.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22confirmed-bug%22
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#event-3269819990
https://github.com/himself65
himself65https://github.com/himself65
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619069141
https://user-images.githubusercontent.com/14026360/80227426-2e5cf000-8680-11ea-8351-af6f42615724.png
himself65https://github.com/himself65
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#event-3269845548
https://github.com/Hamper
Hamperhttps://github.com/Hamper
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619078116
https://tools.ietf.org/html/rfc3986#section-2.3https://tools.ietf.org/html/rfc3986#section-2.3
https://url.spec.whatwg.org/https://url.spec.whatwg.org/
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619089486
@Hamperhttps://github.com/Hamper
https://url.spec.whatwg.org/#concept-urlencoded-byte-serializerhttps://url.spec.whatwg.org/#concept-urlencoded-byte-serializer
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619089902
URL Standardhttps://url.spec.whatwg.org/
https://url.spec.whatwg.org/#url-parsinghttps://url.spec.whatwg.org/#url-parsing
https://user-images.githubusercontent.com/439929/80231257-fade7f00-8607-11ea-967c-fcc54589e886.png
jasnellhttps://github.com/jasnell
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#event-3269989112
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619093003
@bnoordhuishttps://github.com/bnoordhuis
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619095255
@jasnellhttps://github.com/jasnell
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619099578
@annevkhttps://github.com/annevk
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619182678
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Apr 24, 2020https://github.com/nodejs/node/issues/33037#issuecomment-619190551
@szmarczakhttps://github.com/szmarczak
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Apr 27, 2020https://github.com/nodejs/node/issues/33037#issuecomment-620290659
https://github.com/szmarczak
szmarczakhttps://github.com/szmarczak
on Apr 27, 2020https://github.com/nodejs/node/issues/33037#issuecomment-620294615
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Apr 28, 2020https://github.com/nodejs/node/issues/33037#issuecomment-620298172
jasnellhttps://github.com/jasnell
known limitationIssues that are identified as known limitations.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22known%20limitation%22
on Apr 28, 2020https://github.com/nodejs/node/issues/33037#event-3278237897
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on Apr 28, 2020https://github.com/nodejs/node/issues/33037#issuecomment-620748065
whatwg/url#478https://github.com/whatwg/url/issues/478
@bnoordhuishttps://github.com/bnoordhuis
jasnellhttps://github.com/jasnell
on May 4, 2020https://github.com/nodejs/node/issues/33037#event-3300955866
doc: doc and test URLSearchParams discrepancyhttps://github.com/jasnell/node/commit/117b3a5f2b6eb3b096f499bad7e3d58a786ce206
117b3a5https://github.com/jasnell/node/commit/117b3a5f2b6eb3b096f499bad7e3d58a786ce206
https://github.com/jasnell
jasnellhttps://github.com/jasnell
on May 4, 2020https://github.com/nodejs/node/issues/33037#issuecomment-623603862
jasnellhttps://github.com/jasnell
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 6, 2020https://github.com/nodejs/node/issues/33037#event-3309567033
jasnellhttps://github.com/jasnell
on May 6, 2020https://github.com/nodejs/node/issues/33037#event-3309571425
doc: doc and test URLSearchParams discrepancyhttps://github.com/nodejs/node/commit/548439a530c797eb1be877978d5a03f1ee90bc7c
548439ahttps://github.com/nodejs/node/commit/548439a530c797eb1be877978d5a03f1ee90bc7c
codebyterehttps://github.com/codebytere
on May 7, 2020https://github.com/nodejs/node/issues/33037#event-3313590325
doc: doc and test URLSearchParams discrepancyhttps://github.com/nodejs/node/commit/25443fa7f2241b24f8e618535aaa580509b6145c
25443fahttps://github.com/nodejs/node/commit/25443fa7f2241b24f8e618535aaa580509b6145c
codebyterehttps://github.com/codebytere
on Jun 7, 2020https://github.com/nodejs/node/issues/33037#event-3415831631
doc: doc and test URLSearchParams discrepancyhttps://github.com/nodejs/node/commit/ea3a68f74f2041207caa30496d9371e2f82cb74a
ea3a68fhttps://github.com/nodejs/node/commit/ea3a68f74f2041207caa30496d9371e2f82cb74a
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/33037
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/33037
known limitationIssues that are identified as known limitations.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22known%20limitation%22
urlIssues and PRs related to the legacy built-in url module.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22url%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.