diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/util/Utils.java b/src/main/java/ch/ethz/seb/sebserver/gbl/util/Utils.java index 03b604b2..93319262 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/util/Utils.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/util/Utils.java @@ -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) {