mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
UriComponents allows "+" in a query param
Issue: SPR-14828
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user