Incorrect 302 is served for non-authed users when using a subdomain on hostname without a path
Closed
Incorrect 302 is served for non-authed users when using a subdomain on hostname without a path
Created by: shampine
Incorrect: http://git.example.com => 302 => http://example.com
Working correctly: http://git.example.com/xyz => 302 => htt://git.example.com/users/sign_in
Steps to reproduce:
- GitLab is running on a subdomain
- Log out
- Attempt to go to base url without any path
- Redirected to root domain instead of subdomain + sign in
This does not happen when there is a path, only when it is a pathless subdomain. This is a regression as it did not happen in 7.12. Config is the defaults outside of the subdomain url. Nginx (bundled) is seen serving the 302 and the proper 302 in the logs when this happens.
Please register or sign in to reply