Skip to content

Conversation

AzureAaron
Copy link
Collaborator

Simply changes it so that it attempts to decode it regularly first, then if there is an error it'll take the path of replacing invalid base64 characters. This helps avoid unnecessary regex operations (and allocations) on strings when they aren't needed (since most skins won't contain invalid signatures)

@kevinthegreat1 kevinthegreat1 merged commit 62d9cb4 into SkyblockerMod:master Sep 16, 2023
@AzureAaron AzureAaron deleted the base64-fixer-refactor branch September 17, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants