Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2461

refactoring of character escaping in operation parameter values

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 8.0.0.CR1
    • None
    • CLI
    • None

    Description

      There are potential issues with unescaping operation parameter values and command argument values that will be used as operation request parameter values.
      The culprit is that these values are parsed twice: first, with the general command line parser and the second time with the value type parser (which depends on the type of the value: could be list, property list, DMR, etc). Both parsers support and may perform unescaping. Which may lead to confusions and issues like WFLY-161 or WFLY-1791 and then confusing conditions in the code.

      The goal of this task is to not unescape parameter/argument values on the first parsing and leave it to the value type parsers. This concerns only parameter and argument value parsing, parsing of the other parts of operation requests and commands will remain as it is.

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            olubyans@redhat.com Alexey Loubyansky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: