Title: `url.format()` encodes '#' inconsistently · Issue #8064 · nodejs/node · GitHub
Open Graph Title: `url.format()` encodes '#' inconsistently · Issue #8064 · nodejs/node
X Title: `url.format()` encodes '#' inconsistently · Issue #8064 · nodejs/node
Description: Version: affects at least Node 4.4.7, 5.7.1, 6.3.0 Platform: Darwin Kernel Version 15.5.0; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 OS: Mac OS X 10.11.5 For a reason I can't understand, a # symbol in the search parameter of a URL is f...
Open Graph Description: Version: affects at least Node 4.4.7, 5.7.1, 6.3.0 Platform: Darwin Kernel Version 15.5.0; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 OS: Mac OS X 10.11.5 For a reason I can't understand, a # symb...
X Description: Version: affects at least Node 4.4.7, 5.7.1, 6.3.0 Platform: Darwin Kernel Version 15.5.0; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 OS: Mac OS X 10.11.5 For a reason I can't understand, a # ...
Opengraph URL: https://github.com/nodejs/node/issues/8064
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`url.format()` encodes '#' inconsistently","articleBody":"Version: affects at least Node 4.4.7, 5.7.1, 6.3.0\nPlatform: Darwin Kernel Version 15.5.0; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64\nOS: Mac OS X 10.11.5\n\nFor a reason I can't understand, a `#` symbol in the `search` parameter of a URL is formatted inconsistently. The first occurrence (whatever the position) seems to be url-encoded, and subsequent occurrences are not:\n\n```\n$ node\n\u003e require('url').format({search:'foo=1#2#3#'})\n'?foo=1%232#3#'\n\u003e require('url').format({search:'foo=###'})\n'?foo=%23##'\n\u003e require('url').format({search:'###'})\n'?%23##'\n```\n\nThis seems to affect Node 4-6 at least, in my testing. It's causing problems in https://github.com/sindresorhus/normalize-url/issues/26.\n","author":{"url":"https://github.com/georgecrawford","@type":"Person","name":"georgecrawford"},"datePublished":"2016-08-11T09:33:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/8064/node/issues/8064"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8a193e51-ad96-9b5c-72fe-53368d3a45c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE36:230F9A:68671:8DE6A:6A51CD43 |
| html-safe-nonce | 9fc2f5fcdede1f8b53b1f98aa84c11ac2b28372466f981243952199fc37cbb04 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTM2OjIzMEY5QTo2ODY3MTo4REU2QTo2QTUxQ0Q0MyIsInZpc2l0b3JfaWQiOiI1MDQ1NTkwNjk2MjIxODU1MDQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2f97905e547b53fe08af43885340bda3b868e743f50d2a17d3bd36d7225e8493 |
| hovercard-subject-tag | issue:170605115 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/8064/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc29490829674de97fd58fd39ae16190ca5747e12c22941543775a017fa98a74/nodejs/node/issues/8064 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc29490829674de97fd58fd39ae16190ca5747e12c22941543775a017fa98a74/nodejs/node/issues/8064 |
| og:image:alt | Version: affects at least Node 4.4.7, 5.7.1, 6.3.0 Platform: Darwin Kernel Version 15.5.0; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 OS: Mac OS X 10.11.5 For a reason I can't understand, a # symb... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | georgecrawford |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width