Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
The Delphi implementation currently relies on IdCoderMIME for base64 encoding/decoding, which expects the base64 encoding to be complete with padding.
With Thrift it is legal to transfer binary data via JSON without padding, but IdCoderMIME fails to handle this case correctly. Depending on the length of the data, up to 2 bytes from the end of a binary data block may get lost.
Attachments
Issue Links
- is cloned by
-
THRIFT-2891 binary data may cause a failure with JSON transport under specific circumstances
- Closed