Skip to content

NullPointerException on Linux #10

@BullyWiiPlaza

Description

@BullyWiiPlaza

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions