Disable CSP support and config.xml tag renamed.
authorAndrzej Surdej <a.surdej@samsung.com>
Tue, 19 Mar 2013 12:41:47 +0000 (13:41 +0100)
committerGerrit Code Review <gerrit2@kim11>
Thu, 21 Mar 2013 10:22:40 +0000 (19:22 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
[Verification] Build repo

Change-Id: Icf77b94254ec2b39e0980db0213aed7207467751

CMakeLists.txt
src/configuration_parser/widget_parser.cpp

index 78004ae..5a23ce2 100644 (file)
@@ -36,7 +36,7 @@ ENDIF(NOT CMAKE_BUILD_TYPE)
 
 
 #csp from .xml parsing enabled
-OPTION(CSP_SUPPORT "Support for csp policy" ON)
+OPTION(CSP_SUPPORT "Support for csp policy" OFF)
 
 IF(CSP_SUPPORT)
     ADD_DEFINITIONS("-DCSP_ENABLED")
index df343dc..026a84d 100644 (file)
@@ -2545,11 +2545,11 @@ WidgetParser::WidgetParser(ConfigParserData& data) :
                                            &WidgetParser::OnCategoryElement);
     m_map[L"app-widget"] = DPL::MakeDelegate(this, &WidgetParser::OnAppWidgetElement);
 #ifdef CSP_ENABLED
-    m_map[L"Content-Security-Policy"] = DPL::MakeDelegate(
+    m_map[L"content-security-policy"] = DPL::MakeDelegate(
             this,
             &WidgetParser::
                 OnCspElement);
-    m_map[L"Content-Security-Policy-Report-Only"] = DPL::MakeDelegate(
+    m_map[L"content-security-policy-report-only"] = DPL::MakeDelegate(
             this,
             &WidgetParser::
                 OnCspReportOnlyElement);