[ 
https://issues.apache.org/jira/browse/THRIFT-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14245757#comment-14245757
 ] 

Hudson commented on THRIFT-2890:
--------------------------------

FAILURE: Integrated in Thrift #1402 (See 
[https://builds.apache.org/job/Thrift/1402/])
THRIFT-2890 binary data may lose bytes with JSON transport under specific 
circumstances (jensg: rev d8bddbcefba85bb70cf2ae97f2d87ae092ffefad)
* lib/delphi/src/Thrift.Protocol.JSON.pas
* lib/delphi/src/Thrift.Utils.pas


> binary data may lose bytes with JSON transport under specific circumstances
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-2890
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2890
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Library
>    Affects Versions: 0.9.1, 0.9.2
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.3
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to