-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
Description
Hey @richardlehane,
Is it possible that control characters in the JSON output are not escaped correctly?
Running Siegfried with a file that has for instance the name "/tmp/test_folder/^Test_file 1"
(linux output might look like "/tmp/test_folder/?Test.log") seems to output an invalid JSON.
A way to replicate that error would be to create a new text file with a control character inside and run a scan with sf -json.
The JSON output will contain the control character, which might result in an invalid JSON format.
Not sure if this might affect other output formats (like YAML) as well.
Reactions are currently unavailable