Git clone via http(s) fails if using relative_url_root (5.1 stable)
Created by: junalmeida
The problem is caused by the following lines:
https://github.com/gitlabhq/gitlabhq/blob/5-1-stable/lib/gitlab/backend/grack_auth.rb#L13 https://github.com/gitlabhq/gitlabhq/blob/5-1-stable/lib/gitlab/backend/grack_auth.rb#L88
Both of this lines returns the entire url including the relative url root. I replaced (hardcoded) the relative_url_root content from both and then I can clone successfully via https.
Ref: #1228 (closed), @VonC