-
- Downloads
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
Showing
- app/controllers/projects/blob_controller.rb 8 additions, 12 deletionsapp/controllers/projects/blob_controller.rb
- app/views/projects/blob/edit.html.haml 1 addition, 1 deletionapp/views/projects/blob/edit.html.haml
- app/views/projects/diffs/_file.html.haml 1 addition, 1 deletionapp/views/projects/diffs/_file.html.haml
- changelogs/unreleased/jej-22869.yml 4 additions, 0 deletionschangelogs/unreleased/jej-22869.yml
- spec/controllers/projects/blob_controller_spec.rb 49 additions, 0 deletionsspec/controllers/projects/blob_controller_spec.rb
- spec/features/projects/blobs/edit_spec.rb 45 additions, 0 deletionsspec/features/projects/blobs/edit_spec.rb
changelogs/unreleased/jej-22869.yml
0 → 100644
spec/features/projects/blobs/edit_spec.rb
0 → 100644
Please register or sign in to comment