aliyun / api-gateway-nodejs-sdk

The API Gateway SDK for Node.js
MIT License
107 stars 23 forks source link

Fixed StringToSign calculation error #21

Closed wangpengfeido closed 6 years ago

wangpengfeido commented 6 years ago

There is a bug.Client StringToSign and Server StringToSign are different when the value in request query params or data is "false" or 0.It causes Invalid Signature error.I fixed it.

CLAassistant commented 6 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Wangpengfei seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.