package services;

import java.util.Base64;

public class MyURLEncoding {
	public static String encode(String encodeMe) {
		return Base64.getEncoder().encodeToString(encodeMe.getBytes());
	}

	public static String decode(String decodeMe) {
		return new String(Base64.getDecoder().decode(decodeMe));
	}
}

@@ -179,16 +179,65 @@
 Bytes())
+%0A%09%09%09%09.replaceAll(%22/%22, %22-%22).replaceAll(%22%5C%5C+%22, %22_%22)
 ;%0A%09%7D%0A%0A%09p

replace unwanted characters in base64