Summary | Wrong filename and content type for files within zip files |
Queue | Whups |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | selsky (at) columbia (dot) edu |
Created | 09/23/2009 (5760 days ago) |
Due | |
Updated | 10/26/2009 (5727 days ago) |
Assigned | 09/28/2009 (5755 days ago) |
Resolved | 10/26/2009 (5727 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Taken from
State ⇒ Resolved
Milestone ⇒
Use the file name returned by the mime viewer (
Bug #8597).http://cvs.horde.org/diff.php/whups/view.php?rt=horde&r1=1.31&r2=1.32&ty=u
State ⇒ Assigned
Milestone ⇒ 1.0.1
application/octet-stream. Whether we want to do Mime Magic detection
on this data is up to those who maintain whups. FWIW, I don't believe
this is the proper thing to do because in the event the MIME detection
is incorrect, you may very well download an unusable file. It's best
to send the data as application/octet-stream and let the remote
browser/OS deal with things.
Version ⇒ HEAD
Queue ⇒ Whups
not provide any means to download the contained files.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Wrong filename and content type for files within zip files
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
There are two attachments:
horde-framework-git.patch ----- 2451 22-Jan-2009 09:57
Deflated e184b206 32.8%
horde-hatchery.patch ----- 16164 22-Jan-2009 09:26
Deflated c3ec82ff 29.0%
http://bugs.horde.org/view.php?actionID=view_file&type=zip&file=html_support.zip&ticket=8592&zip_attachment=1
http://bugs.horde.org/view.php?actionID=view_file&type=zip&file=html_support.zip&ticket=8592&zip_attachment=2
The headers for the HTTP response of the first attachment are:
$ lwp-request -m HEAD
'http://bugs.horde.org/view.php?actionID=view_file&type=zip&file=html_support.zip&ticket=8592&zip_attachment=1' | grep
Content
Content-Type: application/octet-stream
Content-Disposition: inline; filename="html_support.zip"
We expect the headers to be:
Content-Type: text/plain
Content-Disposition: inline; filename="horde-framework-git.patch"