SEBSP-163 removed wrong replacements of + with %2b in URL encoded strings
This commit is contained in:
parent
5a8e982910
commit
992d690ffc
1 changed files with 1 additions and 5 deletions
|
@ -411,11 +411,7 @@ public final class Utils {
|
|||
return value;
|
||||
}
|
||||
|
||||
return URLDecoder.decode(
|
||||
(value.indexOf('+') >= 0)
|
||||
? value.replaceAll("\\+", "%2b")
|
||||
: value,
|
||||
StandardCharsets.UTF_8);
|
||||
return URLDecoder.decode(value, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
public static void clearCharArray(final char[] array) {
|
||||
|
|
Loading…
Reference in a new issue