Skip to content
Snippets Groups Projects
Commit fe21f187 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

dumb: Fix typo in URL to check protocol support

parent ba40d011
No related branches found
No related tags found
1 merge request!180dumb: Handle HEAD file legacy format
Pipeline #7800 passed
......@@ -73,7 +73,7 @@ def check_protocol(repo_url: str, requests_extra_kwargs: Dict[str, Any] = {}) ->
if not repo_url.startswith("http"):
return False
url = urllib.parse.urljoin(
repo_url.rstrip("/") + "/", "info/refs?service=git-upload-pack/"
repo_url.rstrip("/") + "/", "info/refs?service=git-upload-pack"
)
logger.debug("Fetching %s", url)
response = requests.get(url, **requests_kwargs(requests_extra_kwargs))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment