View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010834 | mantisbt | code cleanup | public | 2009-08-14 05:07 | 2010-04-23 23:22 |
| Reporter | leon_li | Assigned To | dhx | ||
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | duplicate | ||
| OS Version | chinese | ||||
| Product Version | 1.2.0rc1 | ||||
| Summary | 0010834: Project Documentation file name changed when download | ||||
| Description | every file name would be changed to "file_download.php" . | ||||
| Steps To Reproduce | see up | ||||
| Additional Information | I borrowed the previous version 1.1.8 . modified it like this, and it's OK now. // header( 'Content-Disposition:' . $t_disposition . ' filename*=UTF-8\'\'' . urlencode( $t_filename ) . '; filename="' . urlencode( $t_filename ) . '"' ); I am not a programmer, so I don't know what I did is correct or no, but he is really can very good. I wish I had worked in the same in Chinese or other english-speaking friends help. Thank you | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
Thanks for reporting this bug (and doing a good job making a useful report!) I fixed this issue a while ago in the 1.2.x branch (as per bug 0010494). I advise you to read that bug report and the attached commit for more information on what the correct Content-Disposition heading should be. You will probably want to backport the patch from 0010494 to your local 1.1.8 copy if you're not yet ready to upgrade to 1.2.x. |
|