UriComponents allows "+" in a query param

Issue: SPR-14828
This commit is contained in:
Rossen Stoyanchev
2017-01-18 21:04:37 -05:00
parent 8703cdd9cb
commit f2e293aadf
2 changed files with 10 additions and 2 deletions

View File

@@ -554,7 +554,7 @@ final class HierarchicalUriComponents extends UriComponents {
QUERY_PARAM {
@Override
public boolean isAllowed(int c) {
if ('=' == c || '+' == c || '&' == c) {
if ('=' == c || '&' == c) {
return false;
}
else {