Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
The Go implementation relies on base64.StdEncoding.Decode which expects the base64 encoding to be complete with padding.
With Thrift it is legal to transfer binary data via JSON without padding, but the standard package can't handle this and returns an error instead ("invalid base64 data at offset N").
Attachments
Attachments
Issue Links
- is a clone of
-
THRIFT-2890 binary data may lose bytes with JSON transport under specific circumstances
- Closed