| Anonymous | Login | Signup for a new account | 2010-09-06 07:45 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0011372 | mantisbt | attachments | public | 2010-01-09 09:03 | 2010-06-09 03:45 | |
| Reporter | schneebi | |||||
| Assigned To | atrol | |||||
| Priority | normal | Severity | minor | Reproducibility | always | |
| Status | closed | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | 1.2.0rc2 | |||||
| Target Version | Fixed in Version | 1.2.0 | ||||
| Summary | 0011372: Can't open .msg-files | |||||
| Description | First, I had the known problems with file_download.php (exaused memory). After installing the nightly-build (2010-01-09), everything works fine, except .msg-files. If I click on a .msg-file, Mantis tries to open the file with MS Word. If I'd select "open with" and then MS Outlook, Outlook opens a new mail, and the .msg-file is attached. | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Notes |
|
|
atrol (developer) 2010-01-09 10:07 |
What is happening if you double click the msg file in Windows Explorer? Same behaviour? If yes, your problem is not related to MantisBT |
|
schneebi (reporter) 2010-01-09 10:15 |
If I download and save the .msg-file and then double click it, everything works fine (outlook opens the file directly). |
|
dhx (developer) 2010-01-09 20:45 edited on: 2010-01-09 20:46 |
Which browser are you using? Are you using PHP 5.3.0 or, alternatively, 5.1.x or 5.2.x with the fileinfo extension? This really does sound like a problem with how your browser maps MIME types to actions (which application to open, etc). |
|
schneebi (reporter) 2010-01-11 00:47 |
This issue was tested on Firefox 3.5.7, also on IE 8.0 and IE 6. My host is using PHP 5.2.11. With Mantis 1.1.8 (or other web-applications we are using), everything works fine. It only happens in Mantis 1.2.0rc2. |
|
schneebi (reporter) 2010-01-11 01:11 edited on: 2010-01-11 01:12 |
Tested here on mantisbt.org - it works fine... With the same file on my 1.2.0rc-installation, it doesn't work... - on my 1.1.8-installation, it works fine. Both are on the same host. |
|
mars-dev (reporter) 2010-01-13 11:09 edited on: 2010-01-13 11:10 |
I can confirm this bug. @schneebi: You can fix it in file_download.php. Replace line 108: header( 'Content-Disposition:' . $t_disposition . ' filename*=UTF-8\'\'' . urlencode( $t_filename ) . '; filename="' . urlencode( $t_filename ) . '"' ); With this code: header('Content-Disposition:' . $t_disposition . ' filename="' . $t_filename . '"'); The code above fixed all Problems in FF 3.5.7, IE 8 and Opera 10. Server is running Apache2 with PHP 5.2.9. |
|
dhx (developer) 2010-01-14 08:54 |
@mars-dev: Your change essentially disables UTF-8 filenames from being possible, and limits you to the old school ASCII character set (not extended characters either). I can't see from that code why those changes would suddenly fix download problems with only .msg files... across 3 different browsers. I'll just wait here to see if anyone else can reproduce this problem :) |
|
mars-dev (reporter) 2010-03-17 18:13 |
I think this one can be closed. The Bug is solved in the final 1.2.0. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-01-09 09:03 | schneebi | New Issue | |
| 2010-01-09 10:07 | atrol | Note Added: 0024111 | |
| 2010-01-09 10:15 | schneebi | Note Added: 0024112 | |
| 2010-01-09 20:45 | dhx | Note Added: 0024114 | |
| 2010-01-09 20:46 | dhx | Note Edited: 0024114 | View Revisions |
| 2010-01-09 20:46 | dhx | Status | new => feedback |
| 2010-01-11 00:47 | schneebi | Note Added: 0024120 | |
| 2010-01-11 00:47 | schneebi | Status | feedback => new |
| 2010-01-11 01:04 | schneebi | File Added: mantisbt 0011372 Can't open msg-files.msg | |
| 2010-01-11 01:11 | schneebi | Note Added: 0024121 | |
| 2010-01-11 01:12 | schneebi | Note Edited: 0024121 | View Revisions |
| 2010-01-13 11:09 | mars-dev | Note Added: 0024141 | |
| 2010-01-13 11:10 | mars-dev | Note Edited: 0024141 | View Revisions |
| 2010-01-14 08:54 | dhx | Note Added: 0024151 | |
| 2010-03-17 18:13 | mars-dev | Note Added: 0024782 | |
| 2010-03-18 04:05 | atrol | Status | new => resolved |
| 2010-03-18 04:05 | atrol | Fixed in Version | => 1.2.0 |
| 2010-03-18 04:05 | atrol | Resolution | open => fixed |
| 2010-03-18 04:05 | atrol | Assigned To | => atrol |
| 2010-03-31 04:16 | dhx | Relationship added | related to 0008210 |
| 2010-03-31 04:16 | dhx | Relationship deleted | related to 0008210 |
| 2010-06-09 03:45 | dhx | Status | resolved => closed |
| MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.2320 seconds. memory usage: 1,975 KB |