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
When saving a schema with a escaped characters in a field value (e.g. \n, \t, \") the server validation fails with 500 error.
Example schema (note \n at the beginning of "doc" field): { "type": "record", "name": "evolution", "doc": "\nThis is a sample Avro schema to get you started. Please edit", "namespace": "com.landoop", "fields": [ { "name": "name", "type": "string" } ] }
The error happens because these characters are not escaped in the HTTP request:
The request should contain \\n instead of \n.
The text was updated successfully, but these errors were encountered:
When saving a schema with a escaped characters in a field value (e.g. \n, \t, \") the server validation fails with 500 error.
Example schema (note \n at the beginning of "doc" field):
{ "type": "record", "name": "evolution", "doc": "\nThis is a sample Avro schema to get you started. Please edit", "namespace": "com.landoop", "fields": [ { "name": "name", "type": "string" } ] }
The error happens because these characters are not escaped in the HTTP request:
![image](https://user-images.githubusercontent.com/4983965/46725544-ae795b80-cc7c-11e8-852b-6503a9a831d4.png)
The request should contain \\n instead of \n.
The text was updated successfully, but these errors were encountered: