Skip to content

Improve node:fs path normalization#4644

Merged
jasnell merged 1 commit intomainfrom
jasnell/nodefs-improve-path-normalization
Jul 30, 2025
Merged

Improve node:fs path normalization#4644
jasnell merged 1 commit intomainfrom
jasnell/nodefs-improve-path-normalization

Conversation

@jasnell
Copy link
Collaborator

@jasnell jasnell commented Jul 30, 2025

Normalize percent-encodings, percent-encode ? and # characters in the string path, remove empty path segments (e.g. //) in string paths.

Refs: #4634 (does not fully fix 4634)

/cc @RReverser

@jasnell jasnell requested a review from a team July 30, 2025 20:19
@jasnell jasnell requested review from a team as code owners July 30, 2025 20:19
@jasnell jasnell requested a review from a team July 30, 2025 20:19
@jasnell jasnell mentioned this pull request Jul 30, 2025
5 tasks
Normalize percent-encodings, percent-encode ? and # characters
in the string path, remove empty path segments (e.g. `//`) in
string paths.
@jasnell jasnell force-pushed the jasnell/nodefs-improve-path-normalization branch from bc84bbf to fae6961 Compare July 30, 2025 22:24
@jasnell jasnell enabled auto-merge (squash) July 30, 2025 22:56
@jasnell jasnell merged commit 21f4a85 into main Jul 30, 2025
32 of 34 checks passed
@jasnell jasnell deleted the jasnell/nodefs-improve-path-normalization branch July 30, 2025 22:58
joshthoward pushed a commit that referenced this pull request Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants