https://bugzilla.mindrot.org/show_bug.cgi?id=3386

--- Comment #8 from Darren Tucker <[email protected]> ---
(In reply to Yasen from comment #7)
> How about using some other symbol for denoting the port? "\" for
> example?

Some options actually support an obsolete form using "/" as a separator
but we've been deprecating that because for better or worse the world
has  settled on ":" with square brackets and "/" can be misinterpreted
as a subnet specification.

Anyway, I think we could require square brackets when supplying a port.
 That would give the following semantics which would be backward
compatible:
 - no colons: IPv4 or hostname
 - one colon: IPv4 and port or hostname and port
 - two or more colons and no square brackets: bare IPv6 address.
 - two or more colons and square brackets: IPv6 address and port.

I got as far as adding a unit test to make I don't break it any
further.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to