[Tickets #8597] Wrong filename and content type for files within zip files

bugs at horde.org bugs at horde.org
Wed Sep 23 07:55:39 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8597
------------------------------------------------------------------------------
  Ticket             | 8597
  Created By         | Matt Selsky <selsky at columbia.edu>
  Summary            | Wrong filename and content type for files within zip
                     | files
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Matt Selsky <selsky at columbia.edu> (2009-09-23 03:55) wrote:

http://bugs.horde.org/view.php?actionID=view_file&type=zip&file=html_support.zip&ticket=8592

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"






More information about the bugs mailing list