Add "/" in front of start file path
authorJihoon Chung <jihoon.chung@samsung.com>
Tue, 25 Dec 2012 03:14:20 +0000 (12:14 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Tue, 25 Dec 2012 03:36:30 +0000 (12:36 +0900)
[Issue#] TDIS-1525, TDIS-878
[Problem] Fail to load start file contained capital character or "&"
[Cause] First start path missed "/" after file scheme
[Solution] Add "/" path. Linux system must include "/"
"file://" + "/" + start file path
[SCMRequest] N/A

Change-Id: I21d5277f060100c3b065a633230251609c2df069

src/domain/widget_model.cpp

index e8e2580..89e29c9 100644 (file)
@@ -63,7 +63,8 @@ WidgetModel::WidgetModel(const std::string &tizenId) :
     //localized, so not binded
     StartFileInfo(this),
     //localized, so not binded
-    PrefixURL(this, L"file://"),
+    // file:// + / : without "/" path, webkit return security error
+    PrefixURL(this, L"file:///"),
     InstallPath(
         this,
         &BindToWidgetDAO<DPL::String, &WidgetDAOReadOnly::getFullPath>::Get),