api-layer icon indicating copy to clipboard operation
api-layer copied to clipboard

Some code snippet contains double slashes in the request URL

Open taban03 opened this issue 1 year ago • 0 comments

Describe the bug Some basic code snippet(i.e. Python and NodeJS ones) in the Catalog contains double slashes in the request.

import http.client

conn = http.client.HTTPSConnection("<host>")

conn.request("GET", "/mock/gateway//version")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))

Willingness to help If you are willing to help with debugging and reproducing the problem or with fixing the problem, please state your willingness to assist in the created issue.

https://github.com/zowe/api-layer/wiki/Issue-management

taban03 avatar Dec 11 '23 14:12 taban03