diff --git a/git_config.py b/git_config.py index 45264611..6ea505f9 100644 --- a/git_config.py +++ b/git_config.py @@ -385,7 +385,7 @@ def close_ssh(): pass URI_SCP = re.compile(r'^([^@:]*@?[^:/]{1,}):') -URI_ALL = re.compile(r'^([a-z][a-z+]*)://([^@/]*@?[^/])/') +URI_ALL = re.compile(r'^([a-z][a-z+]*)://([^@/]*@?[^/]*)/') def _preconnect(url): m = URI_ALL.match(url)