Fix protocol check code
authorSeungkeun Lee <sngn.lee@samsung.com>
Fri, 24 Apr 2015 08:29:07 +0000 (17:29 +0900)
committerSeungkeun Lee <sngn.lee@samsung.com>
Mon, 27 Apr 2015 01:15:53 +0000 (10:15 +0900)
Change-Id: I6c8babbde64ab184d9db8ae9221712071b7f5eb4

src/runtime/web_view_impl.cc

index 912dcfe..b306a30 100755 (executable)
@@ -267,7 +267,7 @@ void WebViewImpl::InitQuotaExceededCallback() {
                                        uint64_t,
                                        void*) -> Eina_Bool {
     std::string protocol(ewk_security_origin_protocol_get(origin));
-    if (protocol == "file://" || protocol == "app://") {
+    if (protocol == "file" || protocol == "app") {
       // Allow for local origin
       ewk_view_exceeded_database_quota_reply(view, EINA_TRUE);
     } else {