Skip to content

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

Description

@michael-o

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.

Activity

  1. changed the title [-]CmdShell does not escape double quote arg[/-] [+]CmdShell does not escape double quote arg (SCM-763)[/+] on Apr 2, 2018
  2. changed the title [-]CmdShell does not escape double quote arg (SCM-763)[/-] [+]CmdShell does not escape double quote arg value (SCM-763)[/+] on Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions