gitlab-org--gitlab-foss/app
Dmitriy Zaporozhets 090f2344ec Merge branch 'set-default-url-options' into 'master'
Set Application controller default URL options to ensure all url_for calls are consistent

### What does this MR do?

This MR sets the app controller's `default_url_options` so that all `url_for` calls are consistent.

### Are there points in the code the reviewer needs to double check?

Setting these options may simplify `url_for` calls that load the GitLab options already. I did not want to touch existing code yet. I'm also not sure if there are other options that need to be included.

### Why was this MR needed?

If you run GitLab behind a reverse proxy or in a Docker container, you don't want a user to be seeing the local IP and port on which GitLab is running (e.g. 192.168.1.1:8080). Right now there are places where this internal data is leaked (e.g. see the URL in Profile Settings -> Account -> Username; this uses `user_url`).

### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)?

#1249

See merge request !453
2015-03-26 18:27:49 +00:00
..
assets Merge branch 'capitalize-js-class' into 'master' 2015-03-26 15:40:34 +00:00
controllers Set Application controller default URL options to ensure all url_for calls are consistent 2015-03-25 12:27:10 -07:00
finders Merge pull request #8092 from cirosantilli/factor-finder-perms 2015-03-02 15:24:59 -08:00
helpers Fix broken side-by-side diff view on merge request page 2015-03-25 23:39:34 -07:00
mailers Enable more rubocop style checks 2015-03-24 18:28:10 -07:00
models Renamed Buildbox to Buildkite. 2015-03-26 11:40:43 +00:00
services notification on project moving 2015-03-25 18:28:39 +02:00
uploaders Fix URL to uploaded file. 2015-02-20 16:01:37 +01:00
views Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-03-26 08:56:00 -07:00
workers Fix EmailsOnPush. 2015-03-26 07:38:52 +01:00