View Issue Details

IDProjectCategoryView StatusLast Update
0007607Mantispublic2008-04-01 17:52
ReporterRadu DanAssigned ToMarc Weustink 
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Summary0007607: Mantis MIME Types
DescriptionThe Mantis Bugtracker has no predefined MIME Types for images, and thus all images attached to reports must be downloaded. It would be more useful to display the image in the browser and if one must save it, one can use the built in browser functions.
TagsNo tags attached.
Attached Files

Activities

Marc Weustink

2007-02-02 23:49

administrator   ~0011264

I'll look what I can do

Radu Dan

2007-06-18 23:53

reporter   ~0013256

Sorry about the MIME thing, it was just a guess. After closer investigation, the problem is as follows:

Resolving freepascal.org... 62.166.198.202
Connecting to freepascal.org|62.166.198.202|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.0 200 OK
  Date: Mon, 18 Jun 2007 21:47:47 GMT
  Server: Apache/2.0.53 (Linux/SUSE)
  X-Powered-By: PHP/4.3.10
  Pragma: no-cache
  Content-Length: 2438


  Content-Disposition: attachment; filename="buttontabs.png"


  Content-Description: Download Data
  Last-Modified: Wed, 27 Sep 2006 10:39:25 GMT
  Expires: Mon, 18 Jun 2007 21:47:47 GMT
  Content-Type: image/png
  X-Cache: MISS from squid.isat.ro
  X-Cache-Lookup: MISS from squid.isat.ro:3128
  Connection: keep-alive
Length: 2,438 (2.4K) [image/png]


Content-Disposition should be set to inline instead of attachment for files that should be displayed within the browser (like images or text attachments). Of course, this can't be generalized, as I'd rather not have a bz2 archive displayed in my browser window

Hope this helps!

Stumpy

2008-04-01 17:52

reporter   ~0018529

"*.png" open in firefox but "*.PNG" downloads.
why not let the up loader force the mine type like WineHQ Bugzilla.

Issue History

Date Modified Username Field Change
2006-10-14 09:50 Radu Dan New Issue
2007-02-02 23:48 Marc Weustink Status new => assigned
2007-02-02 23:48 Marc Weustink Assigned To => Marc Weustink
2007-02-02 23:49 Marc Weustink Note Added: 0011264
2007-06-18 23:53 Radu Dan Note Added: 0013256
2008-04-01 17:52 Stumpy Note Added: 0018529