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

ASF subversion and git services commented on CLOUDSTACK-1125:
-------------------------------------------------------------

Commit b0b2fd48336d7b7620fdb4ed9f20ca46bef81a19 in branch refs/heads/master 
from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=b0b2fd4 ]

CLOUDSTACK-1125: [EC2 Query API] Permission denied exception when a parameter 
value contains space

Convert space characters in the parameters to %20 while forming a query string 
after url-encode because java.net.URLEncoder performs 
application/x-www-form-urlencoded-type encoding and not percent-encoding. 
According to RFC 3986 as required by Amazon, we need to percent-encode.

                
> [EC2 Query API] Permission denied exception when a parameter value contains 
> space
> ---------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1125
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1125
>             Project: CloudStack
>          Issue Type: Sub-task
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: AWSAPI
>    Affects Versions: 4.0.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>
> For any EC2 Query API call if there is a space in the parameter value a 
> 'Permission denied' exception is obtained

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to