[ 
https://issues.apache.org/jira/browse/STORM-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978746#comment-13978746
 ] 

ASF GitHub Bot commented on STORM-294:
--------------------------------------

Github user d2r commented on a diff in the pull request:

    https://github.com/apache/incubator-storm/pull/83#discussion_r11919176
  
    --- Diff: storm-core/src/jvm/backtype/storm/utils/Utils.java ---
    @@ -171,6 +171,7 @@ public static Map readCommandLineOpts() {
                 commandOptions = commandOptions.replaceAll("%%%%", " ");
                 String[] configs = commandOptions.split(",");
                 for (String config : configs) {
    +                config = config.replaceAll("%%comma%%", " ");
    --- End diff --
    
    Do we need to worry about two or more commas `,,`?


> Commas not escaped in command line
> ----------------------------------
>
>                 Key: STORM-294
>                 URL: https://issues.apache.org/jira/browse/STORM-294
>             Project: Apache Storm (Incubating)
>          Issue Type: Bug
>    Affects Versions: 0.9.2-incubating
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>
> Now that parsing of the command line is done with JSON commas should be 
> escaped so that they can be passed into the client.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to