Ticket #1020 (closed defect: fixed)
PDF files (maybe all binary files) are not downloadable using Internet Explorer
| Reported by: | aguilr at alum dot rpi dot edu | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | high | Milestone: | 0.8.2 |
| Component: | general | Version: | 0.8.1 |
| Severity: | normal | Keywords: | |
| Cc: | skolgan@…, oohlaf@… |
Description (last modified by cmlenz) (diff)
When trying to download a binary file, PDF in this case, IE will give the following error:
--- Internet Explorer cannot download ...database.pdf?rev=30&format=raw from trac.site.com
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later. ---
I've confirmed this works on IE 5.5 and 6 for Windows. I posted this question on the mailing list. Matt Good mentioned it may be:
- IE trying to be smart but really isn't. It may be possible to trick it by adding "&dummy=something.pdf" to the URL.
I tried that but it didn't work
- IE is expecting the PDF file to be transmitted in it's entirety instead of bit's at a time (streamed?).
Is the python code buffering the entire PDF before it transmits it? If not, that may be the solution.
At the moment this is affecting the way we use Trac because we keep files like ERD documents and other resources for our project in PDF format. All our Windows/IE users are unable to access these documents from the Trac site.
Thanks!


