View Issue Details

IDProjectCategoryView StatusLast Update
0011838mantisbtbugtrackerpublic2011-08-05 02:45
Reportersantsys Assigned Toatrol  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.2.0 
Summary0011838: Certain document types (PDF, ZIP) do not download correctly from Documents section.
Description

PDF files, ZIP files and other non-text files, when uploaded in the docs section are not able to be opened after downloading.

For Example, when downloading a PDF files that has been uploaded, the file becomes corrupted. When viewing the file in a text editor after being downloaded, CRLFs in the document have been replaced with the text "\r\n" and it appears that a single quote has been added to the beginning of the file.

Additional Information

Sample PDF File Content (What it should be):

%PDF-1.5
%µµµµ
1 0 obj
<</Type/Catalog/Pages 2 0 R/Lang(en-US) /StructTreeRoot 99 0 R/MarkInfo<</Marked true>>>>
endobj

What is actually downloaded:

'%PDF-1.5\r\n%µµµµ\r\n1 0 obj\r\n<</Type/Catalog/Pages 2 0 R/Lang(en-US) /StructTreeRoot 99 0 R/MarkInfo<</Marked true>>>>\r\nendobj\r\n

%PDF-1.5
%µµµµ
1 0 obj
<</Type/Catalog/Pages 2 0 R/Lang(en-US) /StructTreeRoot 99 0 R/MarkInfo<</Marked true>>>>
endobj

TagsNo tags attached.

Relationships

has duplicate 0012283 closedatrol Can not upload pdf as document 

Activities

atrol

atrol

2011-07-19 15:14

developer   ~0029195

santsys, this issue is not reproducible with current version of MantisBT.
Feel free to reopen the issue if there are still problems after upgrading.