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
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-08-24 19:52:23 +0300
committerJose Vargas <jvargas@gitlab.com>2018-08-29 00:36:25 +0300
commitcdc2bc43d4b40d6bb5d3ab9ecbff509634360db6 (patch)
tree6d7696f4085ece6f7788f9fad1c775d220744b7e /config/routes
parentbeb8354b345466bbd8da6b1c7e188736659cf742 (diff)
[master] Missing CSRF in System Hooks resend action
Diffstat (limited to 'config/routes')
-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