-
Bug
-
Resolution: Fixed
-
Blocker
-
None
When the CSRF protection is set, the web hook requests fail with
Jun 9, 2014 9:31:58 AM hudson.security.csrf.CrumbFilter doFilter WARNING: No valid crumb was included in request for /gitlab/notify_commit. Returning 403.
because the POST request does not use a crumb.
The plugin should implement a CrumbExclusion like the gitbucket plugin
(see https://github.com/jenkinsci/gitbucket-plugin/blob/master/src%2Fmain%2Fjava%2Forg%2Fjenkinsci%2Fplugins%2Fgitbucket%2FGitBucketWebHook.java)