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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck added a comment -

            Does this affect 1.609 (for lts-candidate)?

            danielbeck Daniel Beck added a comment - Does this affect 1.609 (for lts-candidate)?
            oleg_nenashev Oleg Nenashev added a comment - Daniel, seems it exists starting from 1.504 ( https://github.com/jenkinsci/jenkins/commit/b9c18a7b4c6d194645a20312352cd4d4994eafb4 )
            danielbeck Daniel Beck added a comment -

            Thanks for the info, Oleg!

            danielbeck Daniel Beck added a comment - Thanks for the info, Oleg!
            oleg_nenashev Oleg Nenashev added a comment - Fixed by https://github.com/jenkinsci/jenkins/pull/1702

            People

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

              Dates

                Created:
                Updated:
                Resolved: