1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #8024 from kcghost/7941

removed port from domain name qualification, fixes #7941
This commit is contained in:
James Cammarata 2014-07-04 23:15:17 -05:00
commit 7f8de3a265

View file

@ -74,6 +74,8 @@ def get_fqdn(repo_url):
return None
if parts[1] != '':
result = parts[1]
if ":" in result:
result = result.split(":")[0]
if "@" in result:
result = result.split("@", 1)[1]