mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #8024 from kcghost/7941
removed port from domain name qualification, fixes #7941
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user