diff options
author | Rémy Coutable <remy@rymai.me> | 2019-01-21 08:01:26 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-01-21 08:01:26 +0000 |
commit | 764f26785a0af9aaa472537e56386ffd5ce3d875 (patch) | |
tree | 8908edb44e44db59a2368513a97d4f03a9113c39 /app/helpers | |
parent | 93a93174c2978834d529f7ee5f1d62682ee5a536 (diff) | |
parent | 4724afa0059803b9ada7f1f888fb5595767ae7aa (diff) | |
download | gitlab-ce-764f26785a0af9aaa472537e56386ffd5ce3d875.tar.gz |
Merge branch 'raise-on-unfiltered-params' into 'master'
Set ActionController raise_on_unfiltered_parameters to true
See merge request gitlab-org/gitlab-ce!24443
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/members_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index 5a21403bc5e..ab4a1ccc0d1 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -32,7 +32,7 @@ module MembersHelper end def filter_group_project_member_path(options = {}) - options = params.slice(:search, :sort).merge(options) + options = params.slice(:search, :sort).merge(options).permit! "#{request.path}?#{options.to_param}" end end |