Skip to content
Snippets Groups Projects
Commit 707d7792 authored by Radamanthus Batnag's avatar Radamanthus Batnag :speech_balloon: Committed by GitLab Release Tools Bot
Browse files

Add query to filter_parameters

Merge branch 'security-1222-rbatnag-sanitize-graphql-log-17-5' into '17-5-stable-ee'

See merge request gitlab-org/security/gitlab!4626

Changelog: security
parent 504d6489
No related branches found
No related tags found
No related merge requests found
......@@ -219,6 +219,7 @@ class Application < Rails::Application
/key$/,
/^body$/,
/^description$/,
/^query$/,
/^note$/,
/^text$/,
/^title$/,
......
......@@ -27,6 +27,7 @@ def request_for_url(input_url)
'/?safe[note]=secret&target_type=1' | { 'safe' => { 'note' => filtered }, 'target_type' => '1' }
'/?safe[selectedText]=secret' | { 'safe' => { 'selectedText' => filtered } }
'/?selectedText=secret' | { 'selectedText' => filtered }
'/?query=secret' | { 'query' => filtered }
end
with_them do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment