Skip to content

Escape dollars in names to prevent env-var expansion#117

Closed
joshbode wants to merge 1 commit intohrsh7th:mainfrom
joshbode:escape-dollar
Closed

Escape dollars in names to prevent env-var expansion#117
joshbode wants to merge 1 commit intohrsh7th:mainfrom
joshbode:escape-dollar

Conversation

@joshbode
Copy link

@joshbode joshbode commented Oct 14, 2024

Dollars in filenames need to be escaped so they aren't interpreted as variables for expansion

image image

Having $ in filenames is something that is common in Remix (dynamic segments)

@Bekaboo
Copy link

Bekaboo commented Dec 24, 2024

Better to escape other special chars, e.g. %, \ as well using fnameescape(), see #122

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.

2 participants