[wp-trac] Re: [WordPress Trac] #3225: Export file does not download
in FF
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 9 03:31:47 GMT 2006
#3225: Export file does not download in FF
----------------------------+-----------------------------------------------
Reporter: Viper007Bond | Owner: markjaquith
Type: defect | Status: assigned
Priority: normal | Milestone: 2.1
Component: Administration | Version: 2.1
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Changes (by markjaquith):
* status: new => assigned
* owner: anonymous => markjaquith
Comment:
Unfortunately, FF2.0RC2 is sniffing the content of the file, and serving
it up to your designated feed reader (or apparently, viewing in-browser if
no feed reader is designated), totally IGNORING the Content-Disposition
header. Even sending it as text/plain doesn't work (although it fools
Safari, which appears to also ignore Content-Disposition for things sent
with text/xml).
See: http://weblogs.mozillazine.org/ben/archives/010116.html
One way to get around it might be to compress the XML into a gzip (or zip)
file before offering it for download. That'd speed up the download, but I
don't know how much longer the server would have to chew on it, and people
with 8MB for PHP might be in trouble... I know that PHPMySQL's compression
option has bitten me before, leaving me with corrupted gzip files.
Hopefully this behavior will be fixed by 2.0 release.
Here's the Firefox bug ticket (opened a few days ago):
https://bugzilla.mozilla.org/show_bug.cgi?id=355332
We still have to deal with Safari, however.
--
Ticket URL: <http://trac.wordpress.org/ticket/3225#comment:1>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list