You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
If I run atob('123===') inside a cloudflare worker, I get an InvalidCharacterException with the message atob() called with invalid base64-encoded data. (Only whitespace, '+', '/', alphanumeric ASCII, and up to two terminal '=' signs when the input data length is divisible by 4 are allowed.)
Running this same script in cloudworker does not raise an exception. It seems to drop down to the 'atob' package, which runs Buffer.from('123===', 'base64').toString('binary');
In version 0.1.2
If I run
atob('123===')
inside a cloudflare worker, I get anInvalidCharacterException
with the messageatob() called with invalid base64-encoded data. (Only whitespace, '+', '/', alphanumeric ASCII, and up to two terminal '=' signs when the input data length is divisible by 4 are allowed.)
Running this same script in cloudworker does not raise an exception. It seems to drop down to the 'atob' package, which runs
Buffer.from('123===', 'base64').toString('binary');
Related PR: #90
The text was updated successfully, but these errors were encountered: