View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010904 | mantisbt | attachments | public | 2009-09-04 07:28 | 2010-04-23 23:22 |
Reporter | hansj | Assigned To | dhx | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | git trunk | ||||
Summary | 0010904: Images attached to bugs can not be viewed in FF 3.5 | ||||
Description | A click on the filename or the [^] behind the filename of an jpg image attached to a bug opens a new browser tab and complete garbage is shown. | ||||
Steps To Reproduce |
| ||||
Additional Information | IE 7 / 8 works fine. | ||||
Tags | No tags attached. | ||||
duplicate of | 0006047 | confirmed | Mimetype of attached files. |
I can confirm this... I haven't looked into it yet because I just assumed I was the only one with the problem. |
|
The used file method is DATABASE |
|
The image is showing as a thumbnail correctly because the client sends the following header to file_download.php: Accept: image/png,image/;q=0.8,/*;q=0.5 In other words, it knows it wants an image and therefore will attempt to display the result as such. MantisBT actually returns the Content-Type as text/html which is wrong. When you click on an image to download/enlarge it, the client does not make an assumption that it is an image. The Accept image/png header is not sent. MantisBT again incorrectly returns the Content-Type as text/html. |
|
Please track 0006047 for updates and further discussion on fixing this problem. |
|