Properly parse urls for ssh-keyscan use
Previously, the get_fqdn() function in known_hosts.py only worked with urls that started with git@, and ignored any urls that started with a normal schema type (ie. http:// or ssh://). This patch corrects that by using urlparse to parse the hostname portion out of urls that have a proper schema. Fixes #7474
Showing
Please
register
or
sign in
to comment