-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Milestone
Description
Expected behavior
It should be possible to decode query parameters containing character '+' when also when encoded from Spring5. For backward compatibility it may be usefull to have with getQueryParameters a boolean parameter that alows decoding + as space or as +
Actual behavior
URI::getQueryParameters replaces blindly in name and value the charcater '+' with a space URI.cpp (line 361; line 372) before calling the decode function.
Spring5 RestTemplates leaves character '+' unencoded which leads to incompatibility.
Steps to reproduce the problem
(please make this a SSCCE, if applicable and reasonable)
POCO version
1.9.0
Compiler and version
Operating system and version
Other relevant information
Workaround:
use getRawQuery and do the parsing/decoding outside class URI
Reactions are currently unavailable