[
https://issues.apache.org/jira/browse/THRIFT-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Beberg updated THRIFT-3200:
Description: 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. (was: 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 (clearly just unfinished). Which makes js/nodejs incompatable with
any other languages. To fix this js/nodejs need to be corrected, but this will
break backward compatibility.)
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: 0.9.3
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)