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
I encountered this while trying to send a string with HTML entities in it (e.g., <ohai>), and discovering that my JSON library (un?) helpfully escapes them as follows:
{"@data-type":"string","data":"\u003cohai\u003e"}
I will patch https://github.com/corelight/go-zeek-broker-ws to turn off the HTML entity escaping feature and avoid this problem (I don't think we care about crappy browser security issues, and broker/CAF is happy to deserialise the string with HTML entities), but not handling escaped characters is probably a bug worth fixing.
The text was updated successfully, but these errors were encountered:
not handling escaped characters is probably a bug worth fixing
Absolutely. We actually already have someone working on this (actor-framework/actor-framework#1949), so I'll take care that the fix finds its way to Broker/Zeek.
I encountered this while trying to send a string with HTML entities in it (e.g.,
<ohai>
), and discovering that my JSON library (un?) helpfully escapes them as follows:I will patch https://github.com/corelight/go-zeek-broker-ws to turn off the HTML entity escaping feature and avoid this problem (I don't think we care about crappy browser security issues, and broker/CAF is happy to deserialise the string with HTML entities), but not handling escaped characters is probably a bug worth fixing.
The text was updated successfully, but these errors were encountered: