Merge "Revert "URL localization fix""
authorHoseon LEE <hoseon46.lee@samsung.com>
Thu, 18 Apr 2013 04:42:05 +0000 (13:42 +0900)
committerGerrit Code Review <gerrit2@kim11>
Thu, 18 Apr 2013 04:42:05 +0000 (13:42 +0900)
modules/localization/src/w3c_file_localization.cpp

index 8c34ce7..4bea51f 100644 (file)
@@ -141,18 +141,6 @@ DPL::Optional<DPL::String> getFilePathInWidgetPackageFromUrl(
 {
     DPL::String req = url;
 
-    DPL::String::size_type pos = req.find_first_of('#');
-    if(pos != DPL::String::npos)
-    {
-        req.resize(pos); //truncate fragment identifier
-    }
-
-    pos = req.find_first_of('?');
-    if(pos != DPL::String::npos)
-    {
-        req.resize(pos); //truncate query string
-    }
-
     if (req.find(WIDGET_URI_BEGIN) == 0) {
         req.erase(0, WIDGET_URI_BEGIN.length());
     } else if (req.find(FILE_URI_BEGIN) == 0) {