summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-08-08 07:25:44 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-08-08 07:25:44 +0200
commitc3a95ddecfea0ce531c125f6090082b7bf7b5bad (patch)
tree7194ad44deb216ed66d9f3b6cd1974f29554ed40 /Bugzilla
parent326354d6358d4ea13571155ef04c78503b5f8903 (diff)
downloadbugzilla-c3a95ddecfea0ce531c125f6090082b7bf7b5bad.tar.gz
bugzilla-c3a95ddecfea0ce531c125f6090082b7bf7b5bad.tar.xz
Bug 341809 - bugzilla.dtd does not include any custom fields (automate DTD creation))
r=mkanat, a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Constants.pm19
1 files changed, 10 insertions, 9 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 1d9d07a5b..9dd8b76fb 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -438,15 +438,16 @@ use constant LEGAL_CONTENT_TYPES => ('application', 'audio', 'image', 'message',
use constant contenttypes =>
{
- "html"=> "text/html" ,
- "rdf" => "application/rdf+xml" ,
- "atom"=> "application/atom+xml" ,
- "xml" => "application/xml" ,
- "js" => "application/x-javascript" ,
- "json"=> "application/json" ,
- "csv" => "text/csv" ,
- "png" => "image/png" ,
- "ics" => "text/calendar" ,
+ "html" => "text/html" ,
+ "rdf" => "application/rdf+xml" ,
+ "atom" => "application/atom+xml" ,
+ "xml" => "application/xml" ,
+ "dtd" => "application/xml-dtd" ,
+ "js" => "application/x-javascript" ,
+ "json" => "application/json" ,
+ "csv" => "text/csv" ,
+ "png" => "image/png" ,
+ "ics" => "text/calendar" ,
};
# Usage modes. Default USAGE_MODE_BROWSER. Use with Bugzilla->usage_mode.