Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1387 closed defect (duplicate)

plain text files are uploaded with .doc extension

Reported by: HoboPrimate Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Browse Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

I've been attaching some logs in tickets, and they are copied from Log, and then 'Kept' in the Journal.
In its detailed view, the log shows as being a plain text file. When I choose to upload it to bugs.sugarlabs.org, I notice that it is uploaded as a .doc file, when it probably be as a .txt file in this case.

Change History (2)

comment:1 Changed 12 years ago by alsroot

  • Resolution set to duplicate
  • Status changed from new to closed

dup of #901,
after applying #901 patch, extension should be .txt,
moreover its possible to use extension in 'title' of Journal object, in that case this extension will be preserved.

comment:2 Changed 12 years ago by tomeu

but maybe we should check where we were wrongly inferring the extension or mime type?

Note: See TracTickets for help on using tickets.