Can't download PDFs using IE8 and https
if I'm using IE8 and https the download of the generated pdf fails with an error (see screenshot).
The problem is the required http-header "Pragma: private" isn't send.
If I add:
in line 166 of pi1/class.tx_webkitpdf_pi1.php the download works.
#1 Updated by Reinhard Führicht over 8 years ago
- Status changed from New to Needs Feedback
- Assignee set to Reinhard Führicht
Tried using https in FF, IE7, IE8 and IE9. Downloading of PDFs is working without the suggested fix.
Can this have something to do with system settings on the client side?
Additionally, I found this:
So, it seems to be a quite tricky problem.
#2 Updated by Tobias Schaefer over 8 years ago
this bug only occurs in IE8. If I don't modify the class.tx_webkitpdf_pi1.php as mentioned above, the server sends "Pragma: no-cache" in the http header to the client. In conjunction with https it leads IE8 to not save the pdf-file in the browser-cache and therefore not to be able to open it. IE9 and FF behave differently, I haven't tested IE6 or IE7. They're saving files via https althought the server sends "Pragma: no-cache", but IE8 needs "Pragma: private". I don't think that there're settings in IE8 which are preventing or causing this bug.
You can use the FF-add-on "Live http headers" to examine the http headers. Maybe our typo3 server has a different configuration concerning the cache-control than yours.
The drupal-bug 163298 seems to have the same cause.