Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Fix base64 decoding #45

Merged
merged 1 commit into from
Oct 5, 2018
Merged

Fix base64 decoding #45

merged 1 commit into from
Oct 5, 2018

Conversation

CarsonF
Copy link
Contributor

@CarsonF CarsonF commented Oct 5, 2018

Replaced base64 decoding from urlsafe-base64 with our own.

Issue is library doesn't correctly pad remaining '=' chars.
RGBboy/urlsafe-base64#10

Also the library uses deprecated Buffer constructor, so I replaced that with Buffer.from.

Library doesn't correctly pad remaining '=' chars. RGBboy/urlsafe-base64#10
Library uses deprecated Buffer constructor.
@candleshine candleshine requested a review from etsuo October 5, 2018 15:54
@etsuo etsuo merged commit ca98c4a into sakuraapi:develop Oct 5, 2018
@etsuo
Copy link
Member

etsuo commented Oct 5, 2018

Thanks @CarsonF

@etsuo etsuo added this to the 0.6.2 milestone Oct 5, 2018
@CarsonF CarsonF deleted the bugfix/base64-decode branch October 5, 2018 16:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants