Skip to content

fix: double escaped paths#2216

Merged
pd93 merged 1 commit into
mainfrom
2208-fix-double-escaped-paths
Apr 28, 2025
Merged

fix: double escaped paths#2216
pd93 merged 1 commit into
mainfrom
2208-fix-double-escaped-paths

Conversation

@pd93

@pd93 pd93 commented Apr 28, 2025

Copy link
Copy Markdown
Member

Fixes #2208

in #2075 (released in v3.43.1), we changed the way that expanding paths works so that it directly uses mvdan's expand.Literal. However, this has resulted in us double-escaping paths because of our internal escape function. Switching to p.Document and removing the escape function seems to fix the problem.

I have double-checked that issues like #1551, #1590 and #2073 have not regressed.

@andreynering andreynering left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

Task creates spurious brand new directories on disk with backslashes preceding every space

2 participants