/ go Public
net: SplitHostPort errors if no port is specified, but not if input ends with a trailing ":" #25874
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
What did you expect to see?
An error due to improper "host:port" syntax.
What did you see instead?
An empty port in the result and no error.
The text was updated successfully, but these errors were encountered: