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

Don't require special chars within arguments to be escaped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 0.62
    • 0.61
    • None
    • None

      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.

              spederse@redhat.com Stale Pedersen
              brmeyer_jira Brett Meyer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: