Closed bbhtt closed 1 year ago
The problem here is that go-httpbin only accepts the URL-safe base64 encoding, though the error does not make that obvious.
Fix released in v2.12.0, and deployed to https://httpbingo.org.
Your test case now works as expected:
$ curl 'https://httpbingo.org/base64/decode/8J+Ziywg8J+MjSEK4oCm'
š, š!
ā¦
Thanks for the report @bbhtt!
Thanks!
Hello any idea why this string fails to decode?
It seems to work fine on command line
echo "8J+Ziywg8J+MjSEK4oCm"|base64 --decode
but https://httpbingo.org/base64/decode/8J+Ziywg8J+MjSEK4oCm returns an error.I guess it rejects certain encodes?