René's URL Explorer Experiment


Title: lib: reject string "0" in validatePort when allowZero is false by watilde · Pull Request #64174 · nodejs/node · GitHub

Open Graph Title: lib: reject string "0" in validatePort when allowZero is false by watilde · Pull Request #64174 · nodejs/node

X Title: lib: reject string "0" in validatePort when allowZero is false by watilde · Pull Request #64174 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: The allowZero guard compared the raw value with port === 0, but validatePort accepts strings and coerces them with +port in every other clause. Since '0' === 0 is false, string forms of zer...

X Description: The allowZero guard compared the raw value with port === 0, but validatePort accepts strings and coerces them with +port in every other clause. Since '0' === 0 is false, string form...

Opengraph URL: https://github.com/nodejs/node/pull/64174

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5e60d2f9-8344-7ed8-af52-f4e7cf699bcf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD7B8:F54DF:49F10B:64BB99:6A4D3C0E
html-safe-nonce46dcca9caa36260a685b87293280519ff0d238d83b79e43c6f7df66a95c68aed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0I4OkY1NERGOjQ5RjEwQjo2NEJCOTk6NkE0RDNDMEUiLCJ2aXNpdG9yX2lkIjoiMzY1NTY5ODgwMzQ2NDE1ODIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbbbb0ed7257c07f6ddadf0d7ddf7e2e7518a1fc55e0f0ecb7ccbd1d1fcf510d9
hovercard-subject-tagpull_request:3948027174
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/64174/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/46d1a36df1f3ebc38ab0c6ecb1b1bbc332c0d6219ce87ae83f0760f6ca66b2ea/nodejs/node/pull/64174
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/46d1a36df1f3ebc38ab0c6ecb1b1bbc332c0d6219ce87ae83f0760f6ca66b2ea/nodejs/node/pull/64174
og:image:altThe allowZero guard compared the raw value with port === 0, but validatePort accepts strings and coerces them with +port in every other clause. Since '0' === 0 is false, string forms of zer...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewatilde
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-cache
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
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/64174#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F64174
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F64174
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/64174
Reloadhttps://github.com/nodejs/node/pull/64174
Reloadhttps://github.com/nodejs/node/pull/64174
Please reload this pagehttps://github.com/nodejs/node/pull/64174
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/64174
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 959 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
watilde:fix-validate-port-string-zerohttps://github.com/watilde/node/tree/fix-validate-port-string-zero
Conversationhttps://github.com/nodejs/node/pull/64174
Commits1 (1)https://github.com/nodejs/node/pull/64174/commits
Checkshttps://github.com/nodejs/node/pull/64174/checks
Files changedhttps://github.com/nodejs/node/pull/64174/files
lib: reject string "0" in validatePort when allowZero is falsehttps://github.com/nodejs/node/pull/64174#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
watilde:fix-validate-port-string-zerohttps://github.com/watilde/node/tree/fix-validate-port-string-zero
https://github.com/watilde
watildehttps://github.com/watilde
Jun 27, 2026https://github.com/nodejs/node/pull/64174#issue-4758820006
Please reload this pagehttps://github.com/nodejs/node/pull/64174
https://github.com/watilde
lib: reject string "0" in validatePort when allowZero is falsehttps://github.com/nodejs/node/pull/64174/commits/fde027dccec3f3e0ddd651675753a9e7453e2bd8
fde027dhttps://github.com/nodejs/node/pull/64174/commits/fde027dccec3f3e0ddd651675753a9e7453e2bd8
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Jun 27, 2026https://github.com/nodejs/node/pull/64174#event-27282205903
https://github.com/watilde
watildehttps://github.com/watilde
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
review wanted https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22review%20wanted%22
Jun 29, 2026https://github.com/nodejs/node/pull/64174#event-27322961897
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Jul 4, 2026 https://github.com/nodejs/node/pull/64174#pullrequestreview-4629764981
View reviewed changes https://github.com/nodejs/node/pull/64174/files/fde027dccec3f3e0ddd651675753a9e7453e2bd8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Jul 4, 2026https://github.com/nodejs/node/pull/64174#event-27558403451
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jul 4, 2026https://github.com/nodejs/node/pull/64174#issuecomment-4882663769
https://ci.nodejs.org/job/node-test-pull-request/74543/https://ci.nodejs.org/job/node-test-pull-request/74543/
Please reload this pagehttps://github.com/nodejs/node/pull/64174
https://github.com/richardlau
richardlauhttps://github.com/richardlau
Jul 6, 2026 https://github.com/nodejs/node/pull/64174#pullrequestreview-4635602738
View reviewed changes https://github.com/nodejs/node/pull/64174/files/fde027dccec3f3e0ddd651675753a9e7453e2bd8
https://github.com/richardlau
richardlauhttps://github.com/richardlau
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Jul 6, 2026https://github.com/nodejs/node/pull/64174#event-27606317897
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Jul 6, 2026https://github.com/nodejs/node/pull/64174#event-27608102928
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
1677526https://github.com/nodejs/node/commit/1677526335f36cb6db1b5c608154a974a116c4b0
Jul 6, 2026https://github.com/nodejs/node/pull/64174#event-27608109142
Please reload this pagehttps://github.com/nodejs/node/pull/64174
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jul 6, 2026https://github.com/nodejs/node/pull/64174#issuecomment-4892893740
1677526https://github.com/nodejs/node/commit/1677526335f36cb6db1b5c608154a974a116c4b0
Please reload this pagehttps://github.com/nodejs/node/pull/64174
https://github.com/watilde
watildehttps://github.com/watilde
July 6, 2026 13:04https://github.com/nodejs/node/pull/64174#event-27609319319
richardlauhttps://github.com/richardlau
Jul 6, 2026 https://github.com/nodejs/node/pull/64174#ref-commit-243b0e4
https://github.com/watilde
https://github.com/richardlau
lib: reject string "0" in validatePort when allowZero is falsehttps://github.com/nodejs/node/commit/243b0e4e57913fd7ac130be23951faccf6ea95a1
243b0e4https://github.com/nodejs/node/commit/243b0e4e57913fd7ac130be23951faccf6ea95a1
#64174https://github.com/nodejs/node/pull/64174
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 6, 2026 https://github.com/nodejs/node/pull/64174#ref-pullrequest-4821345296
2026-07-08, Version 26.5.0 (Current) #64329 https://github.com/nodejs/node/pull/64329
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F64174
https://github.com/jasnell
jasnell https://github.com/jasnell
https://github.com/nodejs/node/pull/64174/files/fde027dccec3f3e0ddd651675753a9e7453e2bd8
https://github.com/richardlau
richardlau https://github.com/richardlau
https://github.com/nodejs/node/pull/64174/files/fde027dccec3f3e0ddd651675753a9e7453e2bd8
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
review wanted https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22review%20wanted%22
Please reload this pagehttps://github.com/nodejs/node/pull/64174
https://github.com/watilde
https://github.com/nodejs-github-bot
https://github.com/jasnell
https://github.com/richardlau
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.