From 9effbc9a16e1edbef38ffed788fd74a85b3a5bd3 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Sun, 14 Sep 2003 11:41:22 +0000 Subject: [PATCH] Bug 216417 about: page has major errors r+sr=bz fix this by mapping all .xhtm and .xhtml files to application/xhtml+xml, not overridable by user or os --- uriloader/exthandler/nsExternalHelperAppService.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp index 4b74989375b6..ec34a0df523d 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -193,7 +193,9 @@ static nsDefaultMimeTypeEntry defaultMimeEntries [] = { IMAGE_JPG, "jpg" }, { TEXT_HTML, "html" }, { TEXT_HTML, "htm" }, - { APPLICATION_XPINSTALL, "xpi" } + { APPLICATION_XPINSTALL, "xpi" }, + { "application/xhtml+xml", "xhtml" }, + { "application/xhtml+xml", "xhtm" } }; // this is a small private struct used to help us initialize some