-
- Downloads
Redirect to a default path if HTTP_REFERER is not set
Safari 9.0 does not yet honor the HTML5 `origin-when-cross-origin` mode, and it's possible load balancers/proxies strip the HTTP_REFERER from the request header. In these cases, default to some default path. Closes #3122 Closes https://github.com/gitlabhq/gitlabhq/issues/9731
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/controllers/admin/broadcast_messages_controller.rb 1 addition, 1 deletionapp/controllers/admin/broadcast_messages_controller.rb
- app/controllers/admin/hooks_controller.rb 1 addition, 1 deletionapp/controllers/admin/hooks_controller.rb
- app/controllers/admin/users_controller.rb 17 additions, 9 deletionsapp/controllers/admin/users_controller.rb
- app/controllers/application_controller.rb 4 additions, 0 deletionsapp/controllers/application_controller.rb
- app/controllers/import/google_code_controller.rb 3 additions, 3 deletionsapp/controllers/import/google_code_controller.rb
- app/controllers/invites_controller.rb 2 additions, 2 deletionsapp/controllers/invites_controller.rb
- app/controllers/profiles/notifications_controller.rb 1 addition, 1 deletionapp/controllers/profiles/notifications_controller.rb
- app/controllers/profiles_controller.rb 1 addition, 1 deletionapp/controllers/profiles_controller.rb
- app/controllers/projects/ci_services_controller.rb 1 addition, 1 deletionapp/controllers/projects/ci_services_controller.rb
- app/controllers/projects/ci_web_hooks_controller.rb 1 addition, 1 deletionapp/controllers/projects/ci_web_hooks_controller.rb
- app/controllers/projects/deploy_keys_controller.rb 1 addition, 1 deletionapp/controllers/projects/deploy_keys_controller.rb
- app/controllers/projects/hooks_controller.rb 1 addition, 1 deletionapp/controllers/projects/hooks_controller.rb
- app/controllers/projects/issues_controller.rb 1 addition, 1 deletionapp/controllers/projects/issues_controller.rb
- app/controllers/projects/notes_controller.rb 2 additions, 2 deletionsapp/controllers/projects/notes_controller.rb
- app/controllers/projects/project_members_controller.rb 2 additions, 1 deletionapp/controllers/projects/project_members_controller.rb
- app/controllers/projects/services_controller.rb 2 additions, 2 deletionsapp/controllers/projects/services_controller.rb
- spec/controllers/admin/users_controller_spec.rb 26 additions, 0 deletionsspec/controllers/admin/users_controller_spec.rb
- spec/controllers/invites_controller_spec.rb 33 additions, 0 deletionsspec/controllers/invites_controller_spec.rb
- spec/controllers/projects/services_controller_spec.rb 32 additions, 15 deletionsspec/controllers/projects/services_controller_spec.rb
spec/controllers/invites_controller_spec.rb
0 → 100644
Please register or sign in to comment