[jboss-jira] [JBoss JIRA] (WFLY-2461) refactoring of character escaping in operation parameter values

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Thu Nov 7 07:52:02 EST 2013


Alexey Loubyansky created WFLY-2461:
---------------------------------------

             Summary: refactoring of character escaping in operation parameter values
                 Key: WFLY-2461
                 URL: https://issues.jboss.org/browse/WFLY-2461
             Project: WildFly
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: CLI
            Reporter: Alexey Loubyansky
            Assignee: Alexey Loubyansky
             Fix For: 8.0.0.CR1


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list