projects
/
platform
/
framework
/
web
/
nwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7760156
)
Only app:// and file:// could be localized
18/44618/1
author
Seungkeun Lee
<sngn.lee@samsung.com>
Fri, 24 Jul 2015 02:02:08 +0000
(11:02 +0900)
committer
Seungkeun Lee
<sngn.lee@samsung.com>
Fri, 24 Jul 2015 02:02:08 +0000
(11:02 +0900)
Change-Id: Idf748e9c09b16bba72ec8003e0d8b39f2fad0b0f
src/bundle/injected_bundle.cc
patch
|
blob
|
history
diff --git
a/src/bundle/injected_bundle.cc
b/src/bundle/injected_bundle.cc
index
4340534
..
d19313c
100755
(executable)
--- a/
src/bundle/injected_bundle.cc
+++ b/
src/bundle/injected_bundle.cc
@@
-123,7
+123,11
@@
extern "C" void DynamicUrlParsing(
*new_url = "about:blank";
return;
}
- *new_url = res_manager->GetLocalizedPath(*old_url);
+ if (wrt::utils::StartsWith(*old_url, "file:/") ||
+ wrt::utils::StartsWith(*old_url, "app:/"))
+ *new_url = res_manager->GetLocalizedPath(*old_url);
+ else
+ *new_url = *old_url;
}
extern "C" void DynamicDatabaseAttach(int /*attach*/) {