You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2015/07/07 04:00:07 UTC
[jira] [Updated] (THRIFT-3200) JS and nodejs do not encode JSON
protocol binary fields as base64
[ https://issues.apache.org/jira/browse/THRIFT-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell updated THRIFT-3200:
---------------------------------
Fix Version/s: (was: 0.9.3)
1.0
> JS and nodejs do not encode JSON protocol binary fields as base64
> -----------------------------------------------------------------
>
> Key: THRIFT-3200
> URL: https://issues.apache.org/jira/browse/THRIFT-3200
> Project: Thrift
> Issue Type: Bug
> Components: JavaScript - Library, Node.js - Library
> Affects Versions: 0.9.2
> Reporter: Adam Beberg
> Fix For: 1.0
>
>
> Binary fields in the JSON protocol are base64 encoded in cpp/go/java/rb/py/go/... All code with JSON implementations except javascript and nodejs - which escape them as if they as strings (unfinished implementation). This makes js/nodejs incompatable with any other languages since JSON is their only supported protocol. To fix this js/nodejs need to be corrected, but this will break backward compatibility.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)