Commit 9ac5d99e authored by Cypres TAC's avatar Cypres TAC
Browse files

LSP suppression %3D padding

parent 2eb3c7c3
Pipeline #240566 failed with stages
in 6 minutes and 57 seconds
......@@ -80,9 +80,6 @@ public class LocationSpecificPartDecoder {
* @throws CleaEncodingException
*/
public LocationSpecificPart decrypt(String lspBase64) throws CleaEncryptionException, CleaEncodingException {
/* Change eventual safe url padding */
lspBase64 = lspBase64.replace("%3D", "=");
lspBase64 = lspBase64.replace("%3d", "=");
/* The decoder is compliant with or without padding */
byte[] encryptedLocationSpecificPart = Base64.getUrlDecoder().decode(lspBase64);
log.debug("Base 64 decoded LSP: {}", encryptedLocationSpecificPart);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment