Cannot use HTTP/S clone URL without .git
Summary
When using git version 1.8.3.1
(CentOS) users cannot use .git
-less remote URLs for cloning
Steps to reproduce
- Try to clone with
1.8.3.1
:git clone https://gitlab.com/gitlab-org/gitlab-ce
Cloning into 'gitlab-ce'...
error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly
- Try to clone with
2.5.0.1
:git clone https://gitlab.com/gitlab-org/gitlab-ce
. This works.
From our own instance we can see the following errors:
ActionController::RoutingError (No route matches [POST] "/namespace/project/git-upload-pack")
What is the current bug behavior?
Cannot use HTTP URL cloning without .git
suffix.
What is the expected correct behavior?
It should redirect calls so cloning works as it did in the past.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)
Output of checks
This bug happens on GitLab.com.
Possibly related issues
Edited by Daniel Juarez