Support svg type for start file
authorSoyoung Kim <sy037.kim@samsung.com>
Fri, 12 Jul 2013 11:48:28 +0000 (20:48 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Mon, 15 Jul 2013 04:26:30 +0000 (04:26 +0000)
[Issue#] WEB-3586
[Problem] Widget installation fails when default start file as "index.svg"
 is present at the root of the widget package.
[Cause] N/A
[Solution] add svg type.
[SCMRequest] N/A

Change-Id: I98f076a8f958b111cf074f9f7f882716e87f83c9

modules/utils/src/mime_type_utils.cpp

index 1dbe832..a51df5e 100644 (file)
@@ -43,6 +43,7 @@ const std::set<DPL::String>& MimeTypeUtils::getMimeTypesSupportedForStartFile()
     if (set.empty()) {
         set.insert(s("text/html"));
         set.insert(s("application/xhtml+xml"));
+        set.insert(s("image/svg+xml"));
     }
     return set;
 }