Commit Diff


commit - ba40d01131a94614deca71197688d61ec9052529
commit + fe21f18737c77ec9ab00a0c1f022b37de6ee7224
blob - e372fa28d82e4ff65cdf6292701e454bf6a4e43a
blob + 33e8a899fdb47d851b24f18f92b9be98fdfe50fc
--- swh/loader/git/dumb.py
+++ swh/loader/git/dumb.py
@@ -73,7 +73,7 @@ def check_protocol(repo_url: str, requests_extra_kwarg
     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))