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

Don't require special chars within arguments to be escaped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 0.62
    • 0.61
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: