Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Javascript tests for non-UTF8, non-ASCII, and base64 extras #23

Open
pictographer opened this issue May 6, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working unplanned

Comments

@pictographer
Copy link
Contributor

9:58 AM] CurryHoward: I think everything is resolved, assuming it's accurate that 'base64' accepts both URL-safe and regular base64. We should change the example JS code in tagged-base64 to use the updated fromTaggedBase64 above (which removes the problematic ASCII conversion) and consider adding some tests:

  • test for decoding non-UTF8 binary data
  • test for decoding non-ASCII data
  • test for decoding a TaggedBase64 string that contains - and _
    (CurryHoward is @jbearer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unplanned
Projects
None yet
Development

No branches or pull requests

1 participant