Skip to content
代码片段 群组 项目
未验证 提交 7ae3db04 编辑于 作者: Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre 提交者: GitLab
浏览文件

Merge branch 'mk-add-selectedText-to-filtered-params' into 'master'

No related branches found
No related tags found
无相关合并请求
...@@ -242,6 +242,7 @@ class Application < Rails::Application ...@@ -242,6 +242,7 @@ class Application < Rails::Application
redirect redirect
question question
SAMLResponse SAMLResponse
selectedText
] ]
# This config option can be removed after Rails 7.1 by https://gitlab.com/gitlab-org/gitlab/-/issues/416270 # This config option can be removed after Rails 7.1 by https://gitlab.com/gitlab-org/gitlab/-/issues/416270
......
...@@ -25,6 +25,8 @@ def request_for_url(input_url) ...@@ -25,6 +25,8 @@ def request_for_url(input_url)
'/?note=secret&noteable=1&prefix_note=2' | { 'note' => filtered, 'noteable' => '1', 'prefix_note' => '2' } '/?note=secret&noteable=1&prefix_note=2' | { 'note' => filtered, 'noteable' => '1', 'prefix_note' => '2' }
'/?note[note]=secret&target_type=1' | { 'note' => filtered, 'target_type' => '1' } '/?note[note]=secret&target_type=1' | { 'note' => filtered, 'target_type' => '1' }
'/?safe[note]=secret&target_type=1' | { 'safe' => { 'note' => filtered }, 'target_type' => '1' } '/?safe[note]=secret&target_type=1' | { 'safe' => { 'note' => filtered }, 'target_type' => '1' }
'/?safe[selectedText]=secret' | { 'safe' => { 'selectedText' => filtered } }
'/?selectedText=secret' | { 'selectedText' => filtered }
end end
with_them do with_them do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册