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:
commit
7f8de3a265
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue