Skip to content

Conversation

styfle
Copy link
Member

@styfle styfle commented Oct 11, 2025

This is a follow up to a comment #59736 (comment) that pointed out the existing code snippet is not safe since the req.url can start with a double slash which would cause the hostname to be replaced.

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. url Issues and PRs related to the legacy built-in url module. labels Oct 11, 2025
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Oct 11, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 13, 2025
@nodejs-github-bot nodejs-github-bot merged commit 1cd16e5 into nodejs:main Oct 13, 2025
22 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 1cd16e5

@styfle styfle deleted the patch-1 branch October 13, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. url Issues and PRs related to the legacy built-in url module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants