You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/03 10:03:05 UTC

[jira] [Updated] (IGNITE-10282) control.sh: implement proper shell arguments escaping due to the possible usage of regular expression in --cache command

     [ https://issues.apache.org/jira/browse/IGNITE-10282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Muzafarov updated IGNITE-10282:
-------------------------------------
    Fix Version/s:     (was: 2.8)
                   2.9

> 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
>            Priority: Major
>             Fix For: 2.9
>
>
> 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
(v8.3.4#803005)