mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-04 07:45:27 +01:00 
			
		
		
		
	Merge pull request #1253 from drwetter/rDNS_chars
Remove " " ";" in rDnS
This commit is contained in:
		@@ -17379,6 +17379,9 @@ determine_rdns() {
 | 
				
			|||||||
     fi
 | 
					     fi
 | 
				
			||||||
     OPENSSL_CONF="$saved_openssl_conf"      # see https://github.com/drwetter/testssl.sh/issues/134
 | 
					     OPENSSL_CONF="$saved_openssl_conf"      # see https://github.com/drwetter/testssl.sh/issues/134
 | 
				
			||||||
     rDNS="$(echo $rDNS)"
 | 
					     rDNS="$(echo $rDNS)"
 | 
				
			||||||
 | 
					     # remove chars which under weird circumstances can show up here
 | 
				
			||||||
 | 
					     rDNS=${rDNS// /}
 | 
				
			||||||
 | 
					     rDNS=${rDNS//;/}
 | 
				
			||||||
     [[ -z "$rDNS" ]] && rDNS="--"
 | 
					     [[ -z "$rDNS" ]] && rDNS="--"
 | 
				
			||||||
     return 0
 | 
					     return 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user