Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0004437 | mantisbt | bugtracker | public | 2004-08-30 07:47 | 2004-11-06 06:55 | 
| Reporter | jferraz | Assigned To | thraxisp | ||
| Priority | normal | Severity | tweak | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Product Version | 0.19.0rc1 | ||||
| Fixed in Version | 0.19.1 | ||||
| Summary | 0004437: Filenames of uploaded attached files are damaged | ||||
| Description | When uploading an attachment to a bug, when the name of the file contains at least one '-' (hyphen, minus sign), everything until the first '-' is lost. For example, "test-file.txt" becomes "file.txt". | ||||
| Steps To Reproduce | I'll attach a "test-file.txt" to this bug. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Before the storage filenames were obfuscated, a prefix mechanism was used to organize the files. It is no longer needed. As an aside, the obfuscation of project files was missed. | |
| Fixed in CVS | |
| Reopening this issue since it was only partially fixed. Filenames are shown correctly in the list, but the Content-Disposition headers still reports the wrong filename. To reproduce, right-click "test-file.txt" and select "Save target as...". The filename suggested will be just "file.txt". | |
| fixed in CVS. I rewrote file_get_display_name() to handle both old (000-file) and new (file) style names in the database. The database now stores the correct filename without any prefix as filenames on the disk are obfuscated and unique. | |
 related to
					related to				 child of
					child of				 duplicate of
					duplicate of				