Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-324

Don't require special chars within arguments to be escaped

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 0.61
    • Fix Version/s: 0.62
    • Component/s: None
    • Labels:
      None

      Description

      Example:

      artificer> query "/s-ramp/wsdl/Operation[xp2:matches(@name, 'submit.*')]"
      @Arguments contains /s-ramp/wsdl/Operation[xp2:matches(@name,submit.*

      artificer> query "/s-ramp/wsdl/Operation[xp2:matches(@name, \'submit.*\')]"
      @Arguments contains /s-ramp/wsdl/Operation[xp2:matches(@name, 'submit.*')]

      artificer> storedQuery create --name FooQuery5 "/s-ramp/ext/${type}"
      @Arguments contains /s-ramp/ext/

      artificer> storedQuery create --name FooQuery5 "/s-ramp/ext/\${type}"
      @Arguments contains /s-ramp/ext/\${type} (note that for this one, it explicitly included the escaping slash)

      If at all possible, arguments should not require those quotes to be escaped, at least when surrounded with double quotes. Alternatively, include some sort of boolean field on @Option and @Arguments that allows special chars to be used.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stalep Stale Pedersen
                  Reporter:
                  brmeyer Brett Meyer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: