Fix clone URL not showing if protocol is HTTPS

GitLab 11.6.2 fixed the case for HTTP. However, HTTPS still did not work because the protocol returned to http_enabled? was the actual protocol in use (e.g. https instead of http).

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55896

Merge request reports

Loading