We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c076f56 + 6888045 commit 6a00a60Copy full SHA for 6a00a60
1 file changed
testssl.sh
@@ -946,6 +946,7 @@ fileout() {
946
947
if ( "$do_pretty_json" && [[ "$1" == service ]] ) || show_finding "$severity"; then
948
local finding=$(strip_lf "$(newline_to_spaces "$(strip_quote "$3")")") # additional quotes will mess up screen output
949
+ finding="${finding//\\n/ }"
950
[[ -e "$JSONFILE" ]] && [[ ! -d "$JSONFILE" ]] && fileout_json_finding "$1" "$severity" "$finding" "$cve" "$cwe" "$hint"
951
"$do_csv" && [[ -n "$CSVFILE" ]] && [[ ! -d "$CSVFILE" ]] && \
952
fileout_csv_finding "$1" "$NODE/$NODEIP" "$PORT" "$severity" "$finding" "$cve" "$cwe" "$hint"
0 commit comments