Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5762

Allow multiple quoted strings within a CLI command

    XMLWordPrintable

Details

    Description

      CLI commands with multiple quotes are not properly parsed.

      /subsystem=logging/console-handler=CONSOLE:write-attribute(name=filter, value="all(match(\"pattern1\"),not(match(\"pattern2\")))")
      

      I would expect the above command to return the following to the OSH.

      all(match("pattern"),not(match("pattern2")))
      

      What actually gets passed to the OSH is

      all(match(
      

      Note this filter syntax relies on PR https://github.com/jbossas/jboss-as/pull/3251

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: