[PATCH/RFC] connect.c: Ignore extra colon after hostname

2015-04-07 Thread Torsten Bögershausen
Ignore an extra ':' at the end of the hostname in URL's like ssh://example.com:/path/to/repo The colon is ment to separate a port number from the hostname. If the port is empty, the colon should be ignored, see RFC 3986. It had been working for URLs with ssh:// scheme, but was unintentionally

Re: [PATCH/RFC] connect.c: Ignore extra colon after hostname

2015-04-07 Thread Eric Sunshine
On Tue, Apr 7, 2015 at 3:50 AM, Torsten Bögershausen tbo...@web.de wrote: Ignore an extra ':' at the end of the hostname in URL's like ssh://example.com:/path/to/repo The colon is ment to separate a port number from the hostname. s/ment/meant/ More below. If the port is empty, the colon