Skip to content

Fix msvs-promote-path when PATH contains characters needing escaping#10

Merged
dra27 merged 1 commit intometastack:masterfrom
dra27:quoting
Sep 3, 2021
Merged

Fix msvs-promote-path when PATH contains characters needing escaping#10
dra27 merged 1 commit intometastack:masterfrom
dra27:quoting

Conversation

@dra27
Copy link
Copy Markdown
Contributor

@dra27 dra27 commented Sep 3, 2021

Double-quotes in PATH were not correctly escaped (neither would backslashes, but they're less likely to have appeared). This hardens it completely by using a single-quoted string and translating any nefarious single quotes to '"'"'.

Double-quotes in PATH were not correctly escaped (neither would
backslashes, but they're less likely to have appeared)
@dra27 dra27 merged commit f94142a into metastack:master Sep 3, 2021
@dra27 dra27 deleted the quoting branch September 3, 2021 12:41
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.

1 participant