From: Dongsun Lee Date: Thu, 10 Dec 2015 04:52:40 +0000 (+0900) Subject: Remove restriction of characters in Referenece URI X-Git-Tag: accepted/tizen/mobile/20151210.082856^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa0a3be4724858b9e76a5fd2d73e86b6a4b73c09;p=platform%2Fcore%2Fsecurity%2Fcert-svc.git Remove restriction of characters in Referenece URI Reference URI can be longer than 128 from ReferenceValidator Change-Id: I802390dbbaf6bc94b71044d8a9b25193d79e2d37 Signed-off-by: Dongsun Lee --- diff --git a/vcore/vcore/ReferenceValidator.cpp b/vcore/vcore/ReferenceValidator.cpp index 8fd1a30..e8c84b4 100644 --- a/vcore/vcore/ReferenceValidator.cpp +++ b/vcore/vcore/ReferenceValidator.cpp @@ -110,11 +110,6 @@ std::string ReferenceValidator::Impl::decodeProcent(const std::string &path) { throw ERROR_DECODING_URL; int result = hexToInt(input[i+1])*16 + hexToInt(input[i+2]); - - // RFC 1738 - octets 80 to FF are not allowed - if (result >= 128) - throw ERROR_DECODING_URL; - output.push_back(static_cast(result)); i+=3; } else {