Mega-Java
Mega-Java copied to clipboard
NullPointerException on Linux
The base64_url_decode_byte()
method does not behave identical on Windows and Linux. On Windows, the amount of separator characters (variable sepCnt
) is 0 while for Linux it is 1 for the same input.
Forcing the sepCnt
to 0
causes a further exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 44
I know that this repository is deprecated but I just wanted to let you know about this inconsistency. Maybe you know a fix.