Remove restriction of characters in Referenece URI 85/53885/2 accepted/tizen/mobile/20151210.082856 accepted/tizen/tv/20151210.082808 accepted/tizen/wearable/20151210.082915 submit/tizen/20151210.050120 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
authorDongsun Lee <ds73.lee@samsung.com>
Thu, 10 Dec 2015 04:52:40 +0000 (13:52 +0900)
committerkyungwook tak <k.tak@samsung.com>
Thu, 10 Dec 2015 04:57:48 +0000 (20:57 -0800)
Reference URI can be longer than 128 from ReferenceValidator

Change-Id: I802390dbbaf6bc94b71044d8a9b25193d79e2d37
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
vcore/vcore/ReferenceValidator.cpp

index 8fd1a30..e8c84b4 100644 (file)
@@ -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<char>(result));
                 i+=3;
             } else {