apache / openwhisk-cli

Apache OpenWhisk Command Line Interface (CLI)
https://openwhisk.apache.org/
Apache License 2.0
103 stars 99 forks source link

%0D getting added to APIHOST property of wskprops #487

Open vesankar opened 4 years ago

vesankar commented 4 years ago

Environment details:

Steps to reproduce the issue:

  1. Create .wskprops file with AUTH, APIHOST, NAMESPACE
  2. on running npm run deploy, code deciphers APIHOST into URL
  3. But the URL contains /%0D character added to API host

    Because of this, the URL becomes corrupt and so the call fails.

Provide the expected results and outputs:

https://adobeioruntime.net/api/v1/namespaces

Provide the actual results and outputs:

https://adobeioruntime.net/%0D/api/v1/namespaces

Additional information you deem important:

rabbah commented 4 years ago

How are you updating wskprops?

sambasivaraja commented 3 years ago

Hi Team ,

Am also facing the same issue . When am trying to deploy to Adobe IO getting 400 bad request error

wsprops file as below AUTH= APIHOST=http://localhost:3233 NAMESPACE=samba

rabbah commented 3 years ago

Thanks for the added detail, %0D is a carriage return. Do you observe this after changing the file? Thanks for the clue.