Max Shonichev created IGNITE-10282:
--------------------------------------

             Summary: control.sh: implement proper shell arguments escaping due 
to the possible usage of regular expression in --cache command
                 Key: IGNITE-10282
                 URL: https://issues.apache.org/jira/browse/IGNITE-10282
             Project: Ignite
          Issue Type: Bug
            Reporter: Max Shonichev
             Fix For: 2.7


mandatory argument regexPattern after --cache list command is not 
shell-escaped, which leads to unexpected behaviour

{noformat}
$ IGNITE_HOME=`pwd` bin/control.sh --cache list '*' --config
Control utility [ver. 2.5.1-p150#20181101-sha1:b46a69df]
2018 Copyright(C) Apache Software Foundation
User: mshonichev
--------------------------------------------------------------------------------
Check arguments.
Error: Invalid UUID string: benchmarks
{noformat}

{noformat}
$ IGNITE_HOME=`pwd` bin/control.sh --cache list '.*' --config
Control utility [ver. 2.5.1-p150#20181101-sha1:b46a69df]
2018 Copyright(C) Apache Software Foundation
User: mshonichev
--------------------------------------------------------------------------------
Check arguments.
Error: Invalid UUID string: ..
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to