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

Login ?from redirect broken since version 2.277.1

      Since version 2.277.1 login redirection seems to be broken. In version 2.263.4 when you landed on the login page with ?from query parameter in the URL you would get redirected to the page you came from.

      For example if you are not logged into jenkins and visited the job 'test' and the try to login, you would get the following URL: http://localhost:8080/login?from=%2Fjob%2Ftest%2F

      In version 2.263.4 after you logged in successfully, you would be redirected back to the 'test' job page. But since version 2.277.1 you are redirected back to the root page. 

      It seems that the ?from query parameter is broken.

      I have tested the following docker images: 

       

      Version works
      2.263.4
      2.277.1
      2.277.2
      2.277..3

       

          [JENKINS-65452] Login ?from redirect broken since version 2.277.1

          Sven Hickstein added a comment - Seems to be related to this change: https://github.com/jenkinsci/jenkins/commit/a9ca5ef3d4c97937636bf3c585f4232514279b14#diff-a0839e31958036a366efbe2cde80d9bf280e3b4c96d7c122ca61b617f31971aeR61

            Unassigned Unassigned
            terryvdgriend Terry van der Griend
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: