Skip to content

url: update encodePathChars to handle special characters properly - #54516

Closed
injunchoi98 wants to merge 1 commit into
nodejs:mainfrom
injunchoi98:issue-54505
Closed

url: update encodePathChars to handle special characters properly#54516
injunchoi98 wants to merge 1 commit into
nodejs:mainfrom
injunchoi98:issue-54505

Conversation

@injunchoi98

Copy link
Copy Markdown
Contributor

Fixes#54515

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/url

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Aug 23, 2024
@codecov

codecovBot commented Aug 23, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.34%. Comparing base (e70bd47) to head (d73af15).
Report is 16 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #54516 +/- ##
=======================================
Coverage 87.34% 87.34% =======================================
Files 649 649 Lines 182524 182533 +9 Branches 35026 35033 +7 =======================================
+ Hits 159420 159430 +10 + Misses 16373 16372 -1 
Partials 6731 6731 
FilesCoverage Δ
lib/internal/url.js94.93% <100.00%> (+0.02%)⬆️

... and 30 files with indirect coverage changes

@aduh95

aduh95 commented Aug 23, 2024

Copy link
Copy Markdown
Contributor

I'm not sure it's worth changing, in what scenario those char can be problematic in the path? EDIT: the answer is in #54515 (comment)

@aduh95aduh95 added the needs-benchmark-ci PR that need a benchmark CI run. label Aug 23, 2024
@avivkeller

Copy link
Copy Markdown
Member

Can this be closed in favor of @aduh95's PR?

@injunchoi98

Copy link
Copy Markdown
ContributorAuthor

Of course! Thank you for let me know ☺️

@injunchoi98
injunchoi98 deleted the issue-54505 branch August 25, 2024 01:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-benchmark-ciPR that need a benchmark CI run.needs-ciPRs that need a full CI run.whatwg-urlIssues and PRs related to the WHATWG URL implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pathToFileURL function in url fails to handle special characters properly

4 participants

@injunchoi98@nodejs-github-bot@aduh95@avivkeller