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
We observed that "Format JSON" modifies the content of messages read from Kafka by escaping certain characters:
We tracked this down as being the default behavior of Gson, for added security if JSON is used in an HTML context. As the messages in kafkavisualizer are not (automatically) in an HTML context, this behavior is unexpected, and in our case unwanted. I will open a PR to disable HTML escaping for JSON pretty-printing.
The text was updated successfully, but these errors were encountered:
winne42
pushed a commit
to winne42/kafkavisualizer
that referenced
this issue
Sep 9, 2022
We observed that "Format JSON" modifies the content of messages read from Kafka by escaping certain characters:
We tracked this down as being the default behavior of Gson, for added security if JSON is used in an HTML context. As the messages in kafkavisualizer are not (automatically) in an HTML context, this behavior is unexpected, and in our case unwanted. I will open a PR to disable HTML escaping for JSON pretty-printing.
The text was updated successfully, but these errors were encountered: