You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve driver handling of strings containing null bytes #3164
It was pointed out in #2699 that trying to send a string that contains a null byte to the server through the Python client results in a "RqlClientError: Client is buggy (failed to deserialize query)" error.
I believe that this is a regression that resulted from us switching to a JSON protocol, since the server is now unable decode strings with null bytes upon receiving them, which hadn't been a problem with protocol buffers.
We should check for null characters on the client before sending the string to the server to make this more user friendly. We also have to test this for the JavaScript and Ruby driver.
This is already fixed by the branch for #3844 (errors about nulls in strings are now generated by the server, not by the driver). Closing as duplicate.
Activity
danielmewes commentedon Feb 13, 2015
@segphault found that we can reproduce the same or a related problem in JavaScript simply by running
r.expr("\u0000")danielmewes commentedon Apr 14, 2015
This is already fixed by the branch for #3844 (errors about nulls in strings are now generated by the server, not by the driver). Closing as duplicate.