Json-ifying string with newlines in it creates invalid JSON
akhaku opened this issue · 2 comments
akhaku commented
Json-ifying string with newlines in it creates invalid JSON
yalinhuang commented
We ran into another similar issue due to special characters not escaped in HollowRecordJsonStringifier.stringify()
-- it's a tab character ('\t'). Despite that such characters might not make any valuable meaning to the data and should be sanitized before passing down to Cinder, it'd be nice that the HollowRecordJsonStringifier.stringify()
can handle general data values.
nayanika-u commented
Hi @yalinhuang, looking into this one.