summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-01-21 08:01:26 +0000
committerRémy Coutable <remy@rymai.me>2019-01-21 08:01:26 +0000
commit764f26785a0af9aaa472537e56386ffd5ce3d875 (patch)
tree8908edb44e44db59a2368513a97d4f03a9113c39 /app/helpers
parent93a93174c2978834d529f7ee5f1d62682ee5a536 (diff)
parent4724afa0059803b9ada7f1f888fb5595767ae7aa (diff)
downloadgitlab-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.rb2
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