projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
607186c
)
Skip an asterisk in appcontrol uri data
author
JongHeon Choi
<j-h.choi@samsung.com>
Mon, 31 Oct 2016 04:54:35 +0000
(13:54 +0900)
committer
JongHeon Choi
<j-h.choi@samsung.com>
Mon, 31 Oct 2016 04:54:43 +0000
(13:54 +0900)
common/resource_manager.cc
patch
|
blob
|
history
diff --git
a/common/resource_manager.cc
b/common/resource_manager.cc
index
667db3f
..
203f454
100644
(file)
--- a/
common/resource_manager.cc
+++ b/
common/resource_manager.cc
@@
-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) {
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();
if (request_uri.empty())
return info_uri.empty();