cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-7459) CloudMonkey does not honour quoted/escaped (keyword) arguments containing whitespace
Date Tue, 09 Sep 2014 12:48:28 GMT

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

Rohit Yadav closed CLOUDSTACK-7459.
-----------------------------------
    Resolution: Fixed

Fixed on master;

Refs: master, <origin/HEAD>, <origin/master>, 5.2.0-13-g1980b6c
Author:     Rohit Yadav <rohit.yadav@shapeblue.com>
AuthorDate: Tue Sep 9 14:45:25 2014 +0200
Commit:     Rohit Yadav <rohit.yadav@shapeblue.com>
CommitDate: Tue Sep 9 14:47:03 2014 +0200

    CLOUDSTACK-7459: Honour quoted/escaped arguments from command line


> CloudMonkey does not honour quoted/escaped (keyword) arguments containing whitespace
> ------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7459
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7459
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Cloudmonkey
>         Environment: cloudmonkey 5.2.0
>            Reporter: Shalom Bhooshi
>            Assignee: Rohit Yadav
>
> {code}
> # cloudmonkey --version
> cloudmonkey 5.2.0
> {code}
> {code}
> # bash --version
> GNU bash, version 4.2.37(1)-release (x86_64-pc-linux-gnu)
> {code}
> This is expected to work.
> {code}
> # cloudmonkey list ostypes keyword='Windows Server 2012'
> Error:Unauthorized None
> {code}
> As is this.
> {code}
> # cloudmonkey list ostypes keyword=Windows\ Server\ 2012
> Error:Unauthorized None
> {code}
> One needs to escape the whitespace further in the quoted string. This is not expected.
> {code}
> # cloudmonkey list ostypes keyword='Windows\ Server\ 2012'
> {
>   "count": 1,
>   "ostype": [
>     {
>       "description": "Windows Server 2012 (64-bit)",
>       "id": "7d6609ea-49ef-11e3-9349-001d096561b2",
>       "oscategoryid": "762042ae-49ef-11e3-9349-001d096561b2"
>     }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message