Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJosé Iván Vargas López <jvargas@gitlab.com>2018-08-24 19:37:49 +0300
committerJose Vargas <jvargas@gitlab.com>2018-08-24 21:43:53 +0300
commit191f9d2f81c131358a78a3467f1a535685b599a8 (patch)
tree9ed683f4b8a3d6fbe28a2fd2d27b2f76fb9c0e9d /config
parent70f8a351ca78d855f03da066b26b5d2d2a6e9d58 (diff)
Merge branch 'security-fj-missing-csrf-system-hooks-resend-11-2' into 'security-11-2'
[11.2] Missing CSRF in System Hooks resend action See merge request gitlab/gitlabhq!2476
Diffstat (limited to 'config')
-rw-r--r--config/routes/admin.rb2
-rw-r--r--config/routes/project.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index 7ee960970f8..fa1f79a90be 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -59,7 +59,7 @@ namespace :admin do
resources :hook_logs, only: [:show] do
member do
- get :retry
+ post :retry
end
end
end
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 0220e88c819..34f49546983 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -307,7 +307,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resources :hook_logs, only: [:show] do
member do
- get :retry
+ post :retry
end
end
end