From fa0a3be4724858b9e76a5fd2d73e86b6a4b73c09 Mon Sep 17 00:00:00 2001 From: Dongsun Lee Date: Thu, 10 Dec 2015 13:52:40 +0900 Subject: [PATCH] Remove restriction of characters in Referenece URI Reference URI can be longer than 128 from ReferenceValidator Change-Id: I802390dbbaf6bc94b71044d8a9b25193d79e2d37 Signed-off-by: Dongsun Lee --- vcore/vcore/ReferenceValidator.cpp | 5 ----- 1 file changed, 5 deletions(-) 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 { -- 2.7.4