apache / apache/openwhisk-cli

%0D getting added to APIHOST property of wskprops

Open
#487 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
109
Forks
98
PR merge metrics
No merged PRs in 30d

Description

## Environment details:

* local deployment, native ubuntu, Mac OS, Kubernetes, ...
* version of docker, ubuntu, ...

## 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:
* issue happens only occasionally or under certain circumstances
* changes you did or observed in the environment

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.