Mega-Java icon indicating copy to clipboard operation
Mega-Java copied to clipboard

NullPointerException on Linux

Open BullyWiiPlaza opened this issue 7 years ago • 0 comments

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.

BullyWiiPlaza avatar Apr 01 '17 13:04 BullyWiiPlaza