diff options
author | Stan Hu <stanhu@gmail.com> | 2015-08-26 07:38:33 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-08-26 07:38:33 -0700 |
commit | c1fe98e0b9dbe40d564dc5ddad23e14dd0e6e462 (patch) | |
tree | 8267abbf8091f45cb6eb901182fc73d64acd7a3f /doc/gitlab-basics/basic-git-commands.md | |
parent | 068dcefc8645c6abbcf1b7f6fa23ea49e526c501 (diff) | |
download | gitlab-ce-c1fe98e0b9dbe40d564dc5ddad23e14dd0e6e462.tar.gz |
Prevent too many redirects error when home page URL set to external_urll
Many users naively set the home page URL setting to external_url
(e.g. https://mydomain.com). When an unauthenticated user signs in, this
causes endless redirections. For example, this is occuring:
1. Unauthenticated user attempts to access https://mydomain.com/dashboard
2. Application redirects to the home page URL: https://mydomain.com
3. Repeat step 2
In step 3, ApplicationController should have redirected the user to
https://mydomain.com/users/sign_in. Disabling the redirection if home
page URL is the same as external_url prevents users from messing up.
Closes https://github.com/gitlabhq/gitlabhq/issues/8843
Closes #2057
Diffstat (limited to 'doc/gitlab-basics/basic-git-commands.md')
0 files changed, 0 insertions, 0 deletions