From: Taejeong Lee Date: Thu, 18 Apr 2013 03:00:32 +0000 (+0900) Subject: Revert "URL localization fix" X-Git-Tag: 2.2.1_release~9^2~126^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=157de639200660489d0bd46721e63ecfd77d992d;p=framework%2Fweb%2Fwrt-commons.git Revert "URL localization fix" This reverts commit 2a6f2567fdab7242af18f3492c0ca7d2602f305e. [Issue#] N/A [Problem] URL arguments are not transmitted to webkit. [Cause] Side effect of "URL localization fix" [Solution] This is critical issue. The commit was reverted. Change-Id: I8e185480b442433e7be8e2a35e5b7a2c402ab0a2 --- diff --git a/modules/localization/src/w3c_file_localization.cpp b/modules/localization/src/w3c_file_localization.cpp index 8c34ce7..4bea51f 100644 --- a/modules/localization/src/w3c_file_localization.cpp +++ b/modules/localization/src/w3c_file_localization.cpp @@ -141,18 +141,6 @@ DPL::Optional 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) {