Red Hat Bugzilla – Bug 103417
asset streaminig issues with IE
Last modified: 2007-04-18 12:57:16 EDT
Description of problem:
IE often ignores the contentType header it seems. Adding the content-disposition
header seems to help the problem somewhat, although even with this, IE still
attempts to render text files as HTML in some cases.
My recent London fix (34599) fixes a problem in generating the filename for the
content-disposition header, but it looks as if the changes which this builds
upon are themselves not merged into the trunk (or 5.2). As such, rather than
merging this changelist, we'll probably need to merge all changes on
Steps to Reproduce:
The fix referred to is 35499, not 34599. The relevant issues addressed in the
london branch are:
1) returning not found errors (404) instead of ServletException (500)
2) setting extension (based on mime type, but avoid foo.ext.ext)
3) quoting filename (avoid client side processing issues for special characters)
I am also going to address code duplication between StreamAsset and
DownloadAsset, which needs the same set of fixes.
The london fixes have been integrated to 5.2 (@36268), 6.0 (@36273), and dev
(@36244 and 36269). There are apparently issues with some IE5.5 versions and the
content-disposition header that are not addressed by these patches. When those
issues come up, they will be handled.