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
committerJosé Iván Vargas López <jvargas@gitlab.com>2018-08-24 19:52:23 +0300
commit539d274563bdf5145529813312dbf4fbf682d349 (patch)
treef9b8e35a76cfdcdc8b9f5203c03be6fd60d1e9ed /app/views/projects/hook_logs
parent5846c02dea6f57c1e4fb2a05ba1251177a6856f2 (diff)
[master] Missing CSRF in System Hooks resend action
Diffstat (limited to 'app/views/projects/hook_logs')
-rw-r--r--app/views/projects/hook_logs/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/hook_logs/show.html.haml b/app/views/projects/hook_logs/show.html.haml
index e51efa85df0..bd8ca5e7d70 100644
--- a/app/views/projects/hook_logs/show.html.haml
+++ b/app/views/projects/hook_logs/show.html.haml
@@ -4,6 +4,6 @@
Request details
.col-lg-9
- = link_to 'Resend Request', retry_project_hook_hook_log_path(@project, @hook, @hook_log), class: "btn btn-default float-right prepend-left-10"
+ = link_to 'Resend Request', retry_project_hook_hook_log_path(@project, @hook, @hook_log), method: :post, class: "btn btn-default float-right prepend-left-10"
= render partial: 'shared/hook_logs/content', locals: { hook_log: @hook_log }