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

Hudson commented on THRIFT-2891:
--------------------------------

FAILURE: Integrated in Thrift #1403 (See 
[https://builds.apache.org/job/Thrift/1403/])
THRIFT-2891 binary data may cause a failure with JSON transport under specific 
circumstances (jensg: rev 15fe1cb5f434a5b4dcba49e3547365d705ac8f84)
* lib/go/thrift/simple_json_protocol.go


> binary data may cause a failure with JSON transport under specific 
> circumstances
> --------------------------------------------------------------------------------
>
>                 Key: THRIFT-2891
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2891
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.9.1, 0.9.2
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.3
>
>         Attachments: 
> THRIFT-2891-binary-data-may-cause-a-failure-with-JSO.patch
>
>
> 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").



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

Reply via email to