Added
This commit is contained in:
parent
d6ad11e069
commit
9f031bfa11
|
|
@ -71,7 +71,9 @@ public class Base64InflateFunction extends AbstractFunction<String> {
|
|||
try {
|
||||
LOG.debug("Received input for Base64Inflate: {}", input);
|
||||
String urlDecoded = URLDecoder.decode(input, StandardCharsets.UTF_8.name());
|
||||
byte[] base64Decoded = Base64.getDecoder().decode(urlDecoded);
|
||||
String cleaned = urlDecoded.replaceAll("\\s", "");
|
||||
|
||||
byte[] base64Decoded = Base64.getDecoder().decode(cleaned);
|
||||
|
||||
try (InflaterInputStream inflater = new InflaterInputStream(
|
||||
new ByteArrayInputStream(base64Decoded), new Inflater(true));
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue