Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: source map resolution in parent workspace folder paths not working #1573

Merged
merged 2 commits into from
Feb 22, 2023

Conversation

connor4312
Copy link
Member

@connor4312 connor4312 commented Feb 22, 2023

See #1554 (comment)

Due to some bad logic, we ended up escaping the glob pattern that was meant to find sourcemaps.

}

suffix =
suffix.slice(0, sharedPrefixLen).replace(/[\[\]\(\)\{\}\!\*]/g, '\\$&') +

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding

This does not escape backslash characters in the input.
@connor4312 connor4312 merged commit 188f552 into main Feb 22, 2023
@connor4312 connor4312 deleted the fix/bad-path-escaping branch February 22, 2023 18:05
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.

None yet

2 participants