gitlab-org--gitlab-foss/app
Douwe Maan 742cee756b Merge branch 'jej-22869' into 'security'
Fix information disclosure in `Projects::BlobController#update`

It was possible to discover private project names by modifying `from_merge_request`parameter in `Projects::BlobController#update`. This fixes that.

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md) entry added
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

https://gitlab.com/gitlab-org/gitlab-ce/issues/22869

See merge request !2023
2016-11-28 21:25:18 -03:00
..
assets Merge branch 'update-button-style' into 'master' 2016-11-28 22:45:00 +00:00
controllers Merge branch 'jej-22869' into 'security' 2016-11-28 21:25:18 -03:00
finders Remove unnecessary require_relative calls from finder 2016-11-26 14:36:00 +05:00
helpers Merge branch 'issuable_filters_present-refactor' into 'master' 2016-11-28 11:37:53 +00:00
mailers Merge remote-tracking branch 'upstream/master' into pipeline-notifications 2016-11-08 23:52:17 +08:00
models Merge branch '24813-project-members-with-developer-access-can-no-longer-create-tags' into 'master' 2016-11-28 16:02:46 +00:00
policies Merge branch 'pipeline-notifications' into 'master' 2016-11-09 13:41:04 +00:00
serializers fixed bug to do with calculating durations 2016-11-22 15:05:37 +01:00
services Merge branch 'zj-fix-label-creation-non-members' into 'security' 2016-11-28 21:24:19 -03:00
uploaders Remove event caching code 2016-11-23 14:17:07 +01:00
validators Add nested groups support to the routing 2016-11-23 14:08:36 +02:00
views Merge branch 'jej-22869' into 'security' 2016-11-28 21:25:18 -03:00
workers Refresh project authorizations using a Redis lease 2016-11-25 13:35:01 +01:00