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

Redirects do not work properly on IE

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Component/s: core
    • Labels:
    • Environment:
      Internet Explorer
    • Similar Issues:

      Description

      TL;DR: Make the 404 redirect page longer so IE behaves, or change how redirects work.

      Let's say you have a build with no test reports (eg, a cancelled build). Try to enter the testReport page:

      http://jenkins:8080/job/MyProject/1325/testReport/

      Jenkins will perform a 302 Found redirect to

      http://jenkins:8080/job/MyProject/1325/testReport/?

      This will load a 404 page with the following contents:

      <html><head><meta http-equiv='refresh' content='1;url=..'/><script>window.location.replace('..');</script></head><body style='background-color:white; color:white;'>Not found</body></html>

      On Chrome and Firefox this will redirect to http://jenkins:8080/job/MyProject/1325 which is probably what you expected. IE will not. It will instead redirect to its own internal 404 page.

      I think this page purports to tell why this happens. It says that the page needs to be 512 bytes or it's ignored:

      http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml

      The upshot is that it would be good if either both redirects used a 302 Found, or perhaps a simpler solution would be if the 404 meta-redirect had more content so that Explorer took it seriously.

        Attachments

          Activity

          Hide
          evernat evernat added a comment -

          Reproduced with Jenkins 1.511 and IE8.
          And so the "Previous build" and "Next build" links in test reports may go to an error 404 page.

          Show
          evernat evernat added a comment - Reproduced with Jenkins 1.511 and IE8. And so the "Previous build" and "Next build" links in test reports may go to an error 404 page.
          Hide
          danielbeck Daniel Beck added a comment -

          Internet Explorer 8 is no longer supported by Jenkins, so resolving as Won't Fix. If this issue occurs on more recent versions of Internet Explorer, please file a new issue.

          https://wiki.jenkins-ci.org/display/JENKINS/Browser+Compatibility+Matrix

          Show
          danielbeck Daniel Beck added a comment - Internet Explorer 8 is no longer supported by Jenkins, so resolving as Won't Fix. If this issue occurs on more recent versions of Internet Explorer, please file a new issue. https://wiki.jenkins-ci.org/display/JENKINS/Browser+Compatibility+Matrix

            People

            • Assignee:
              Unassigned
              Reporter:
              jdmarshall Jason Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: