projects
/
platform
/
framework
/
web
/
wrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ba053c
)
When wrt reset the page uri path was wrong whith double prefix uri.
author
Soyoung Kim
<sy037.kim@samsung.com>
Tue, 18 Sep 2012 02:48:57 +0000
(11:48 +0900)
committer
Hoseon LEE
<hoseon46.lee@samsung.com>
Tue, 18 Sep 2012 05:15:48 +0000
(14:15 +0900)
src/view/common/view_logic_uri_support.cpp
patch
|
blob
|
history
diff --git
a/src/view/common/view_logic_uri_support.cpp
b/src/view/common/view_logic_uri_support.cpp
index
886069c
..
5ec3f23
100644
(file)
--- a/
src/view/common/view_logic_uri_support.cpp
+++ b/
src/view/common/view_logic_uri_support.cpp
@@
-109,7
+109,10
@@
std::string getUri(WidgetModel *widgetModel, const std::string &defaultUri)
}
// insert prefix path
- if (strstr(startUri.c_str(), "http") == startUri.c_str()) {
+ std::string preFix = DPL::ToUTF8String(widgetModel->PrefixURL.Get());
+
+ if (strstr(startUri.c_str(), "http") == startUri.c_str() ||
+ strstr( startUri.c_str(), preFix.c_str()) == startUri.c_str()) {
uri = DPL::FromUTF8String(startUri);
} else {
uri = widgetModel->PrefixURL.Get() +