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

Base64 padding mismatch #489

Closed
delaneyj opened this issue Mar 6, 2023 · 0 comments · Fixed by #490
Closed

Base64 padding mismatch #489

delaneyj opened this issue Mar 6, 2023 · 0 comments · Fixed by #490

Comments

@delaneyj
Copy link

delaneyj commented Mar 6, 2023

I have a situation where I'm trying to pull down data from an object store put there by a Go client. Pulling this data from the cli with --trace shows the underlying metadata being called on $O.web-friendly-images.M.MTIyMDE5NTQ0MDYwMzY5MDA2NjJfMDAwMTlfZnVsbA== however the same object being pulled from JS shows up as $O.web-friendly-images.M.MTIyMDE5NTQ0MDYwMzY5MDA2NjJfMDAwMDFfZnVsbA.

This leads the js clients to see this as a 404 even though the data is available in the CLI. It appears there is a discrepancy between clients in how padding of base64 is handled. I couldn't find any documentation on which client is "right" though I assume the Go one is the closest to a reference implementation.

If you need more details please don't hesitate to ask.

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 a pull request may close this issue.

1 participant