-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
I believe that this applies for any js script that encodes to base64 with more than one + or /
A decision needs to be made on how to update this file:
src/utils.ts
Either it could encode to 'base64url' as is possible since node14
Or it should use 'replaceAll' instead of just 'replace' (since node15)
Or write a replace as a regex with global g suffix (see https://futurestud.io/tutorials/node-js-string-replace-all-appearances)
More info on base64 chars: https://stackoverflow.com/questions/55389211/string-based-data-encoding-base64-vs-base64url
Metadata
Metadata
Assignees
Labels
No labels