Details
-
Bug
-
Resolution: Unresolved
-
Major
-
Cheshire-Cat, Neo
-
1
Description
What's the issue?
The docs site for adding a node via the CLI states the following.
Note that the server to be added should be prefixed with an appropriate scheme (ie, http:// or https://): if none is specified, https:// is used as the default.
I don't believe this is the case, for uses to connect via HTTPS, they will need to supply 'https://'.
# If the netloc is empty then it means that there was no scheme added
|
# to the URI and we are parsing it as a path. In this case no scheme
|
# means HTTP so we can add that scheme to the hostname provided.
|
if parsed.netloc == "":
|
parsed = urllib.parse.urlparse("http://" + values)
|
This code from the 'CBEnvAction' (used by the '--cluster' flag) appears to back this up.