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

/lib/layout/task also initiates GET request when post=true

      Simple <l:task post="true" href="someurl"/> triggers post request as expected
      but then proceeds to href as normal link do. If the URL accepts GET then request
      is sent twice (POST then GET). It if does not, after POSTing on background user get
      'POST is required' error.

          [JENKINS-28437] /lib/layout/task also initiates GET request when post=true

          Daniel Beck added a comment -

          Does this affect 1.609 (for lts-candidate)?

          Daniel Beck added a comment - Does this affect 1.609 (for lts-candidate)?

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Daniel, seems it exists starting from 1.504 ( https://github.com/jenkinsci/jenkins/commit/b9c18a7b4c6d194645a20312352cd4d4994eafb4 )

          Daniel Beck added a comment -

          Thanks for the info, Oleg!

          Daniel Beck added a comment - Thanks for the info, Oleg!

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Fixed by https://github.com/jenkinsci/jenkins/pull/1702

            olivergondza Oliver Gondža
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: