eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
385 stars 144 forks source link

Add missing MIME mappings to default-web.xml #1763

Closed glassfishrobot closed 17 years ago

glassfishrobot commented 17 years ago

Summary says it all

Environment

Operating System: All Platform: Sun

Affected Versions

[9.1pe]

glassfishrobot commented 6 years ago
glassfishrobot commented 17 years ago

@glassfishrobot Commented gfbugbridge said:

glassfishrobot commented 17 years ago

@glassfishrobot Commented jluehe said: I've sync'ed (but not yet committed) the GlassFish default-web.xml with the latest default-web.xml from Tomcat, and defined additional mappings based on customer escalations.

However, when running QL with the updated default-web.xml, I get some failures, because the AVK complains about invalid MIME types and aborts deployment of WAR files.

The diffs below add the following MIME types to the list of MIME types recognized by the AVK:

text/x-server-parsed-html application/powerpoint application/x-visio application/vnd.mozilla.xul+xml application/x-stuffit application/xml-dtd application/xhtml+xml application/mathml+xml application/ogg application/voicexml+xml application/rdf+xml image/svg+xml

Can I get someone from the AVK team to review and approve these diffs (which also rename "AppServer 9.0 PE" to "GlassFish"):

Index: MimeTypes.java

RCS file: /cvs/glassfish/avk/src/tools/com/sun/enterprise/tools/verifier/tests/web/elements/MimeTypes.java,v retrieving revision 1.4 diff -u -r1.4 MimeTypes.java — MimeTypes.java 8 Feb 2006 13:24:12 -0000 1.4 +++ MimeTypes.java 5 Jan 2007 18:24:51 -0000 @@ -68,9 +68,10 @@ "vnd.wap.wmlscript", // [Stark] "vnd.motorola.reflex", // [Patton] "vnd.fly", // [Gurney]

@@ -318,10 +319,20 @@ "vnd.dpgraph", // [Parker] "http", // [RFC2616] "sdp", // [RFC2327]

static String [] image =

{ @@ -345,8 +356,9 @@ "prs.pti", // [Laun] "vnd.cns.inf2", // [McLaughlin] "vnd.mix", // [Reddy] - "bmp", // [ AppServer 9.0 PE default-web.xml] - "pict" // [ AppServer 9.0 PE default-web.xml] + "bmp", // [ GlassFish default-web.xml] + "pict", // [ GlassFish default-web.xml] + "svg+xml" // [RFC3023] }

;

static String [] audio =

{ @@ -370,7 +382,7 @@ "vnd.vivo", // [Wolfe] "vnd.motorola.video", // [McGinty] "vnd.motorola.videop", // [McGinty] - "mpeg2" // [ AppServer 9.0 PE default-web.xml] + "mpeg2" // [ GlassFish default-web.xml] }

;

static String [] model = { // [RFC2077]

Thanks,

Jan

glassfishrobot commented 17 years ago

@glassfishrobot Commented jluehe said: Checking in default-web.xml; /cvs/glassfish/admin/templates/pe80/default-web.xml,v <-- default-web.xml new revision: 1.12; previous revision: 1.11 done Checking in MimeTypes.java; /cvs/glassfish/avk/src/tools/com/sun/enterprise/tools/verifier/tests/web/elements/MimeTypes.java,v <-- MimeTypes.java new revision: 1.5; previous revision: 1.4 done

glassfishrobot commented 17 years ago

@glassfishrobot Commented Was assigned to jluehe

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-1763

glassfishrobot commented 17 years ago

@glassfishrobot Commented Reported by jluehe

glassfishrobot commented 17 years ago

@glassfishrobot Commented Marked as fixed on Monday, January 8th 2007, 4:52:59 am