mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Remove " " ";" in rDnS
... as occasionally they showed up when using dig which made the rDNS output look like it's not supposed to be
This commit is contained in:
parent
29e69d1156
commit
9d84308e3e
@ -17379,6 +17379,9 @@ determine_rdns() {
|
||||
fi
|
||||
OPENSSL_CONF="$saved_openssl_conf" # see https://github.com/drwetter/testssl.sh/issues/134
|
||||
rDNS="$(echo $rDNS)"
|
||||
# remove chars which under weird circumstances can show up here
|
||||
rDNS=${rDNS// /}
|
||||
rDNS=${rDNS//;/}
|
||||
[[ -z "$rDNS" ]] && rDNS="--"
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user