rhtyd commented on a change in pull request #29: Fix the string to sign
URL: 
https://github.com/apache/cloudstack-documentation/pull/29#discussion_r272058361
 
 

 ##########
 File path: source/developersguide/dev.rst
 ##########
 @@ -255,7 +255,7 @@ encoding:
 
 .. parsed-literal::
       
-   >>> 
sig_str='&'.join(['='.join([k.lower(),urllib.quote_plus(request[k].lower().replace('+','%20'))])for
 k in sorted(request.iterkeys())]) 
+   >>> 
sig_str='&'.join(['='.join([k.lower(),urllib.quote_plus(request[k]).lower().replace('+','%20')])for
 k in sorted(request.iterkeys())]) 
 
 Review comment:
   For reference, this is how cloudmonkey (python version) does it: 
https://github.com/apache/cloudstack-cloudmonkey/blob/5.3/cloudmonkey/requester.py#L203

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to