You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/18 14:01:34 UTC
[jira] [Commented] (CLOUDSTACK-7581) Empty 'ID' parameters allowed
in API calls
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138843#comment-14138843 ]
ASF subversion and git services commented on CLOUDSTACK-7581:
-------------------------------------------------------------
Commit 4e07dd1dc4b4618fff2ef25c846ce6b95a8e580d in cloudstack's branch refs/heads/master from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4e07dd1 ]
CLOUDSTACK-7581: Empty 'ID' parameters allowed in API calls
Fix is to fail API calls with empty 'id' parameter value upfront rather than going ahead and failing with NPE later on
> Empty 'ID' parameters allowed in API calls
> ------------------------------------------
>
> Key: CLOUDSTACK-7581
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7581
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: API
> Affects Versions: 4.2.0, 4.3.0, 4.4.0, 4.5.0
> Reporter: Koushik Das
> Assignee: Koushik Das
> Fix For: 4.5.0
>
>
> API calls with empty 'id' value (like below) is allowed to go through and then fails with NPE
> http://localhost:8096/client/api?command=startVirtualMachine&id=&response=json
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)