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

Job-enabling API should reject GET requests

    XMLWordPrintable

Details

    • Patch
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None
    • Platform: All, OS: All

    Description

      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.

      Attachments

        Activity

          ohtake_tomohiro OHTAKE Tomohiro created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 133794 ] JNJira + In-Review [ 202413 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: