Title: bug: URLSearchParams(null) behavior deviates from WHATWG standard / browsers · Issue #63559 · nodejs/node · GitHub
Open Graph Title: bug: URLSearchParams(null) behavior deviates from WHATWG standard / browsers · Issue #63559 · nodejs/node
X Title: bug: URLSearchParams(null) behavior deviates from WHATWG standard / browsers · Issue #63559 · nodejs/node
Description: Version v24.16.0 Platform Linux nixos 7.0.9 #1-NixOS SMP PREEMPT_DYNAMIC Sun May 17 15:16:34 UTC 2026 x86_64 GNU/Linux Subsystem URLSearchParams What steps will reproduce the bug? (new URLSearchParams(null)).toString() How often does it ...
Open Graph Description: Version v24.16.0 Platform Linux nixos 7.0.9 #1-NixOS SMP PREEMPT_DYNAMIC Sun May 17 15:16:34 UTC 2026 x86_64 GNU/Linux Subsystem URLSearchParams What steps will reproduce the bug? (new URLSearchPar...
X Description: Version v24.16.0 Platform Linux nixos 7.0.9 #1-NixOS SMP PREEMPT_DYNAMIC Sun May 17 15:16:34 UTC 2026 x86_64 GNU/Linux Subsystem URLSearchParams What steps will reproduce the bug? (new URLSearchPar...
Opengraph URL: https://github.com/nodejs/node/issues/63559
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: URLSearchParams(null) behavior deviates from WHATWG standard / browsers","articleBody":"### Version\n\nv24.16.0\n\n### Platform\n\n```text\nLinux nixos 7.0.9 #1-NixOS SMP PREEMPT_DYNAMIC Sun May 17 15:16:34 UTC 2026 x86_64 GNU/Linux\n```\n\n### Subsystem\n\nURLSearchParams\n\n### What steps will reproduce the bug?\n\n```ts\n(new URLSearchParams(null)).toString()\n```\n\n### How often does it reproduce? Is there a required condition?\n\nEvery time\n\n### What is the expected behavior? Why is that the expected behavior?\n\n```ts\n'null='\n```\n\n### What do you see instead?\n\n```ts\n''\n```\n\n### Additional information\n\n\u003cimg width=\"531\" height=\"467\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/19635628-3be8-4d99-ba73-d3c0f7a584bb\" /\u003e\n\nWhen passing null to URLSearchParams constructor, Node.js deviates from the WHATWG URL and WebIDL specification, as well as the behavior in Chrome and Deno.","author":{"url":"https://github.com/tbontb-iaq","@type":"Person","name":"tbontb-iaq"},"datePublished":"2026-05-25T14:41:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/63559/node/issues/63559"}
| 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:dba5ab8c-f0dd-1f39-e356-87a57b07b881 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90EA:CBED7:C9C7E8:1104001:6A4D5875 |
| html-safe-nonce | dbab079e0f7564cb8f866b0d8e2de4f87faf91986ebcaddaed1d0c95e17a73f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEVBOkNCRUQ3OkM5QzdFODoxMTA0MDAxOjZBNEQ1ODc1IiwidmlzaXRvcl9pZCI6IjU1Mzk4MDkwODE0NDUxNTE4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f45d2bb2a17d24535cb81e2e50884bdd5fa03b2fd7c9b2df6d0662a8e94cfa00 |
| hovercard-subject-tag | issue:4517681791 |
| 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/63559/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a9b4aa408b94967e8882009b33d6cbe1e0c4fef3dadb96d9fe68e414850ed2c/nodejs/node/issues/63559 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a9b4aa408b94967e8882009b33d6cbe1e0c4fef3dadb96d9fe68e414850ed2c/nodejs/node/issues/63559 |
| og:image:alt | Version v24.16.0 Platform Linux nixos 7.0.9 #1-NixOS SMP PREEMPT_DYNAMIC Sun May 17 15:16:34 UTC 2026 x86_64 GNU/Linux Subsystem URLSearchParams What steps will reproduce the bug? (new URLSearchPar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tbontb-iaq |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width