%0D getting added to APIHOST property of wskprops
- Lingua principale
- Go
- Stelle
- 109
- Fork
- 98
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il problema con un file .wskprops contenente AUTH, APIHOST e NAMESPACE, quindi esegui npm run deploy. Traccia come APIHOST diventa l’URL della richiesta e individua dove viene introdotta la codifica del ritorno a capo. Il lavoro è completato quando l’URL generato corrisponde a https://adobeioruntime.net/api/v1/namespaces senza /%0D.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100