From f861a6467c99022522ef07f18d8d24b51d05938d Mon Sep 17 00:00:00 2001 From: micheleselea Date: Tue, 14 Oct 2014 09:49:11 +0200 Subject: [PATCH] RESERVER_QUERY update in function setQuery, or when you have to use encode internally, is used RESERVED_QUERY that is only # if you have a query with / the character is encoded, and I think you don't want --- Foundation/src/URI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/src/URI.cpp b/Foundation/src/URI.cpp index 61b22286e..8e61564f9 100644 --- a/Foundation/src/URI.cpp +++ b/Foundation/src/URI.cpp @@ -26,7 +26,7 @@ namespace Poco { const std::string URI::RESERVED_PATH = "?#"; -const std::string URI::RESERVED_QUERY = "#"; +const std::string URI::RESERVED_QUERY = "#/"; const std::string URI::RESERVED_FRAGMENT = ""; const std::string URI::ILLEGAL = "%<>{}|\\\"^`";