Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20140

GitHub Web Hook does not work unless "Prevent Cross Site Request Forgery exploits" is disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: github-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 12.04, Jenkins 1.527, Jenkins GitHub plugin 1.8
    • Similar Issues:

      Description

      I can't get the GitHub plugin's web hooks to work unless I go into "Configure Global Security" and set "Prevent Cross Site Request Forgery exploits" to disabled.

      From my googling around [1], it seems that perhaps this plugin needs to add a CrumbExclusion?

      [1] https://issues.jenkins-ci.org/browse/JENKINS-10263

        Attachments

          Activity

          Hide
          mgedmin Marius Gedminas added a comment - - edited

          Looks like a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-10263

          Edit: never mind, I managed not to notice that you mentioned that exact same issue in the original report.

          Show
          mgedmin Marius Gedminas added a comment - - edited Looks like a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-10263 Edit: never mind, I managed not to notice that you mentioned that exact same issue in the original report.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          pom.xml
          src/main/java/com/cloudbees/jenkins/GitHubWebHook.java
          src/main/java/com/cloudbees/jenkins/GitHubWebHookCrumbExclusion.java
          http://jenkins-ci.org/commit/github-plugin/e065b804f4f3eb7efcbb6ad4b61872b8d119c4f6
          Log:
          [FIXED JENKINS-20140] Merge pull request #35

          Compare: https://github.com/jenkinsci/github-plugin/compare/6d023ef37496...e065b804f4f3

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: pom.xml src/main/java/com/cloudbees/jenkins/GitHubWebHook.java src/main/java/com/cloudbees/jenkins/GitHubWebHookCrumbExclusion.java http://jenkins-ci.org/commit/github-plugin/e065b804f4f3eb7efcbb6ad4b61872b8d119c4f6 Log: [FIXED JENKINS-20140] Merge pull request #35 Compare: https://github.com/jenkinsci/github-plugin/compare/6d023ef37496...e065b804f4f3

            People

            • Assignee:
              Unassigned
              Reporter:
              karlmdavis karlmdavis
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: