Project

General

Profile

Actions

Patch #610

closed

Add XSD as accepted XML Filetype.

Added by Kit Plummer about 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-02-05
Due date:
% Done:

0%

Estimated time:

Description

Easy patch:

Index: lib/redmine/mime_type.rb
===================================================================
--- lib/redmine/mime_type.rb    (revision 1118)
+++ lib/redmine/mime_type.rb    (working copy)
@@ -31,7 +31,7 @@
       'text/x-python' => 'py',
       'text/x-ruby' => 'rb,rbw,ruby,rake',
       'text/x-sh' => 'sh',
-      'text/xml' => 'xml',
+      'text/xml' => 'xml,xsd',
       'text/yaml' => 'yml,yaml',
       'image/gif' => 'gif',
       'image/jpeg' => 'jpg,jpeg,jpe',

Files

add_xsd_as_xml_mimetype.patch (1.89 KB) add_xsd_as_xml_mimetype.patch Kit Plummer, 2008-02-05 19:35
add_xsd_as_xml_mimetype_SOLO.patch (473 Bytes) add_xsd_as_xml_mimetype_SOLO.patch Thomas Lecavelier, 2008-02-05 19:42
added_xsd_mxml.patch (442 Bytes) added_xsd_mxml.patch Kit Plummer, 2008-02-05 20:11
Actions #1

Updated by Thomas Lecavelier about 16 years ago

WARNING! You let your proposal for a previous patch in your local copy. The correct patch is attached.

Actions #2

Updated by Kit Plummer about 16 years ago

There's a whole slew of XML filetypes...like Adobe's Flash. Not sure if those should be captured in this patch too. Would help me out - so, I'm adding mxml to the list now.

Actions #3

Updated by Jean-Philippe Lang about 16 years ago

  • Status changed from New to Closed

Added with a few other extensions in r1128.

Actions

Also available in: Atom PDF