Skip to content

Always Base64 encode the startup command to avoid quoting issues #4116

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

Closed
wants to merge 1 commit into from

Conversation

andyleejordan
Copy link
Member

We already did this for non-Windows and it works great to avoid issues with quoting the server startup command. Let's do it on Windows too because some installations of PowerShell (specifically through the dotnet global tool) also have quote issues that became apparent with a multi-line startup banner.

Fixes #4111.

We already did this for non-Windows and it works great to avoid issues
with quoting the server startup command. Let's do it on Windows too
because some installations of PowerShell (specifically through the
`dotnet` global tool) also have quote issues that became apparent with a
multi-line startup banner.
@andyleejordan andyleejordan requested a review from a team August 9, 2022 03:09
@andyleejordan andyleejordan enabled auto-merge (squash) August 9, 2022 03:09
@ghost ghost added Area-Startup Issue-Bug A bug to squash. labels Aug 9, 2022
@andyleejordan andyleejordan changed the title Always base64 encode the startup command to avoid quoting issues Always Base64 encode the startup command to avoid quoting issues Aug 9, 2022
@andyleejordan andyleejordan disabled auto-merge August 9, 2022 03:12
@andyleejordan andyleejordan enabled auto-merge (squash) August 9, 2022 03:12
@TylerLeonhardt
Copy link
Member

We did this differently on Windows because some antiviruses have issues with EncodedCommand on Windows 😭

@andyleejordan
Copy link
Member Author

Yeahhh @SeeminglyScience told me such. I just did another workaround with #4121

auto-merge was automatically disabled August 9, 2022 23:12

Pull request was closed

@SeeminglyScience SeeminglyScience deleted the andschwa/always-base64-encode branch August 10, 2022 18:26
@SeeminglyScience SeeminglyScience restored the andschwa/always-base64-encode branch August 10, 2022 18:27
@andyleejordan andyleejordan deleted the andschwa/always-base64-encode branch October 27, 2022 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

New 'PowerShell Extension Terminal' does not work with pwsh.
3 participants