Skip to content

Conversation

godky
Copy link
Contributor

@godky godky commented Apr 24, 2024

Description

Parameters wrapped with ` may produce unexpected results in path.normalize or path.posix.normalize
For example:

path.posix.normalize('../../foo')     // '../../foo'
path.posix.normalize('`../../foo`')   // 'foo`'

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@godky godky marked this pull request as draft April 24, 2024 11:08
@godky godky marked this pull request as ready for review April 24, 2024 12:16
@sapphi-red sapphi-red added the p3-minor-bug An edge case that only affects very specific usage (priority) label Apr 25, 2024
@patak-dev
Copy link
Member

Thanks for the fix!

@patak-dev patak-dev merged commit f71ba5b into vitejs:main Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants