Skip an asterisk in appcontrol uri data
authorJongHeon Choi <j-h.choi@samsung.com>
Mon, 31 Oct 2016 04:54:35 +0000 (13:54 +0900)
committerJongHeon Choi <j-h.choi@samsung.com>
Mon, 31 Oct 2016 04:54:43 +0000 (13:54 +0900)
common/resource_manager.cc

index 667db3f..203f454 100644 (file)
@@ -118,6 +118,9 @@ static bool CompareMime(const std::string& info_mime,
 
 static bool CompareUri(const std::string& info_uri,
                        const std::string& request_uri) {
+  if (info_uri == "*")
+    return true;
+
   if (request_uri.empty())
     return info_uri.empty();