[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 14 06:49:06 EST 2013


     [ https://issues.jboss.org/browse/WFLY-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky updated WFLY-2461:
------------------------------------

    Git Pull Request: https://github.com/wildfly/wildfly/pull/5430

    
> 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