When wrt reset the page uri path was wrong whith double prefix uri.
authorSoyoung Kim <sy037.kim@samsung.com>
Tue, 18 Sep 2012 02:48:57 +0000 (11:48 +0900)
committerHoseon LEE <hoseon46.lee@samsung.com>
Tue, 18 Sep 2012 05:15:48 +0000 (14:15 +0900)
src/view/common/view_logic_uri_support.cpp

index 886069c..5ec3f23 100644 (file)
@@ -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() +