• Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      According to job API description, job-enabling/disabling APIs should be invoked
      by POST requests.
      But in doEnable in AbstractProject.java, the job-enabling API is invoked by a
      GET request.

          [JENKINS-3721] Job-enabling API should reject GET requests

          Created an attachment (id=711)
          add requirePOST to doEnable

          OHTAKE Tomohiro added a comment - Created an attachment (id=711) add requirePOST to doEnable

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/AbstractModelObject.java
          trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=22207
          Log:
          [FIXED JENKINS-3721] Job-enabling API should reject GET requests.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/model/AbstractModelObject.java trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=22207 Log: [FIXED JENKINS-3721] Job-enabling API should reject GET requests.

            Unassigned Unassigned
            ohtake_tomohiro OHTAKE Tomohiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: