testssl.sh/.github
Dirk Wetter 828af39053 Backporting Make sure control chars from HTTP header don't end up in html,csv,json
This is for 3.0. For 3.1dev, see #2332 .

This PR addresses the bug #2330 by implementing a function which removes control characters from the file output format html,csv,json in the output.
In every instance called there's a check before whether the string contains control chars, hoping it'll save a few milli seconds.

A tr function is used, omitting LF.
It doesn't filter the terminal output and the log file output, yet. It provides a function though which is not being called.
2023-03-12 17:40:02 +01:00
..
workflows Backporting Make sure control chars from HTTP header don't end up in html,csv,json 2023-03-12 17:40:02 +01:00
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 2021-10-21 10:53:36 +02:00