Actions
Feature #2209
closedMIME type support for repository Entries
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-11-17
Due date:
% Done:
70%
Estimated time:
Resolution:
Fixed
Description
I didn't like that images didn't just load in the browser that were in a repository, and felt there should be some MIME support, so I gave it a shot. I think it works for any files (with MIME type or not, which just defaults to the old behavior). I don't know the Redmine code base well, and I'm not a Ruby programmer, so it was a quick attempt.
Files
Related issues
Updated by Vincent Castellano about 16 years ago
- File MimeType.patch MimeType.patch added
Updated by Chris Cummer about 16 years ago
A slight fix: I think line #125 should read:
send_data @content, :filename => fn, :type => type, :disposition => 'inline'
rather than:
send_data @content, :filename => fn, :type => type, => 'inline'
Updated by Patrick Hurrelmann about 16 years ago
+1, I like it very much. It keeps annoying me that files won't open in the browser even if the mime-type in the repository are set properly.
Updated by Chris Grieger over 15 years ago
Patch for the current #2823 revision.
Updated by Toshi MARUYAMA almost 14 years ago
- Status changed from New to 7
- Assignee set to Toshi MARUYAMA
Updated by Toshi MARUYAMA almost 14 years ago
- Tracker changed from Patch to Feature
Updated by Toshi MARUYAMA almost 14 years ago
- % Done changed from 0 to 70
Updated by Toshi MARUYAMA almost 12 years ago
- Assignee deleted (
Toshi MARUYAMA)
Actions