Forcing HTTPS does not work on default provided URLs
Summary
Enabling the "Force HTTP requests to HTTPS" checkbox does not work over the default provided url.
The checkbox works as expected on custom domains.
Steps to reproduce
- Create a repo under your namespace and deploy a site to it. In my case,
jgkamat.gitlab.io
- Ensure the "Force HTTP requests to HTTPS" checkbox is checked
- Visit
<username>.gitlab.io
Example Project
https://gitlab.com/jgkamat/jgkamat.gitlab.io
Note how http://jgkamat.gitlab.io/ is not redirected. I currently have the "Force https" checkbox enabled.
What is the current bug behavior?
Visit the http version of the webpage
What is the expected correct behavior?
Visit the https version of the webpage
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
Sorry, I'm not familiar with ruby at all...
Related Issues
The issue in general: #28857 (closed) The Merge Request: !16273 (merged)