netops: make the path optional in URLs
When we're dealing with proxy addresses, we only want a hostname and port, and the user would not provide a path, so make it optional so we can use this same function to parse git as well as proxy URLs.
Showing
Please
register
or
sign in
to comment