todo comment regarding app scheme
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 15 Jul 2013 11:51:27 +0000 (13:51 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Mon, 15 Jul 2013 11:54:02 +0000 (13:54 +0200)
[Issue#]       N/A
[Bug]          High probablity of bug in code in case of app scheme
[Cause]        N/A
[Solution]     N/A
[Verification] N/A

Change-Id: I085f6ae43168b7fa499ddff46a71111d6e82e571

modules/security_origin_dao/dao/security_origin_dao.cpp

index 0293898ea94d1f2f55ba7de9f896b1f08a461a83..8f6e3eacb8c3227d30a7d983cda6dce6db563f3b 100755 (executable)
@@ -246,7 +246,7 @@ void SecurityOriginDAO::setSecurityOriginData(const SecurityOriginData &security
 void SecurityOriginDAO::setPrivilegeSecurityOriginData(const Feature feature,
                                                        bool isOnlyAllowedLocalOrigin)
 {
-    Origin origin(DPL::FromUTF8String("file"),
+    Origin origin(DPL::FromUTF8String("file"), //TODO: this breaks app:// scheme code -> no case for app scheme
                   DPL::FromUTF8String(""),
                   0);
     if (!isOnlyAllowedLocalOrigin) {