Login redirect to previous page no longer works

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 2.296

      When logging in, the "from" URL is no longer being redirected to.

      1. docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:2.265
      2. Pass the setup wizard not installing anything, keep admin user.
      3. In /configureSecurity, allow anonymous read access
      4. As anonymous, go to http://localhost:8080/view/all/builds
      5. Click log in
      6. Log in as admin

      Expected result (up to 2.265): Back to Build History

      Actual result (from 2.266): Index page

      This is a regression, probably caused by https://github.com/jenkinsci/jenkins/blob/9cf3f73abdeddf360f67d98577a15b8cb0dc4162/core/src/main/java/hudson/security/AuthenticationProcessingFilter2.java#L61-L96

            Assignee:
            Daniel Beck
            Reporter:
            Daniel Beck
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: