axiomhq / axiom-syslog-proxy

A syslog push interface to Axiom.
https://axiom.co
MIT License
8 stars 4 forks source link

Fix json escaped character handling #65

Closed Rambatino closed 4 months ago

Rambatino commented 4 months ago

When cleanString was called on the data, it removed the \\ which meant the escaping inside the JSON was then wrong.

Unfortunately, the use-case supporting the reason for this cleaning wasn't codified in a test and thus I'm not 100% sure what its purpose was.