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

CmdShell does not escape double quote arg value (SCM-763) #36

Open
michael-o opened this issue Apr 2, 2018 · 0 comments
Open

CmdShell does not escape double quote arg value (SCM-763) #36

michael-o opened this issue Apr 2, 2018 · 0 comments

Comments

@michael-o
Copy link
Member

This was found during SCM-763.

Consider your want to pass a password (on Windows) with double quote: S8p3r"S3cr3t. The escaped outcome is S8p3r"S3cr3t. No change, but to pass a double quote you need, first to quote the entire string and then double the double quote. See here. Correct value would be: "S8p3r""S3cr3t"

Currently, this is impossible in Plexus Utils.

@michael-o michael-o changed the title CmdShell does not escape double quote arg CmdShell does not escape double quote arg (SCM-763) Apr 2, 2018
@michael-o michael-o changed the title CmdShell does not escape double quote arg (SCM-763) CmdShell does not escape double quote arg value (SCM-763) Apr 2, 2018
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

No branches or pull requests

1 participant