From: Zbigniew Kostrzewa Date: Wed, 17 Apr 2013 05:54:23 +0000 (+0200) Subject: Bugfix https://tizendev.org/bugs/browse/TDIS-4756 X-Git-Tag: 2.2.1_release~9^2~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c873b6e35ca3e6542053b9d9ff08755ba347b94;p=framework%2Fweb%2Fwrt-commons.git Bugfix https://tizendev.org/bugs/browse/TDIS-4756 [Issue#] N/A [Problem] Conversion of IRI encoded in Unicode to ASCII failed on some platforms but on others succeeded. [Cause] Due to char type being treated as signed on some platforms and unsigned on others. [Solution] The code that causes the issue is not used so it has been removed. [SCMRequest] N/A [Verification] 1. Build respository. 2. Run `wrt-extra-tests-w3c-widget-policy --output=text --regexp='load_image_using_toASCII'` Change-Id: Ie56e2b6a3b673617350836d688032c63c0b9c0b1 --- diff --git a/modules/utils/src/warp_iri.cpp b/modules/utils/src/warp_iri.cpp index ae30121..4f6aa0c 100644 --- a/modules/utils/src/warp_iri.cpp +++ b/modules/utils/src/warp_iri.cpp @@ -111,8 +111,6 @@ void WarpIRI::set(const char *p_iri, } } - DPL::String str = DPL::FromASCIIString(std::string(iri->host)); - std::string utf8host = iri->host; std::list hostTokenList; DPL::Tokenize(utf8host, ".", std::front_inserter(hostTokenList));