Jason Marshall created JENKINS-13540:
----------------------------------------
Summary: Redirects do not work properly on IE
Key: JENKINS-13540
URL: https://issues.jenkins-ci.org/browse/JENKINS-13540
Project: Jenkins
Issue Type: Bug
Components: other
Affects Versions: current
Environment: Internet Explorer
Reporter: Jason Marshall
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira