mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-10-30 21:35:26 +01:00
Merge pull request #2760 from ssupdoc/fix_2759
Uses tolower() utility for hostname conversion
This commit is contained in:
@@ -21689,7 +21689,7 @@ parse_hn_port() {
|
||||
local node_tmp=""
|
||||
|
||||
NODE="$1"
|
||||
NODE="${NODE,,}" # Lowercase
|
||||
NODE="$(tolower "$NODE")" # Lowercase
|
||||
NODE="${NODE/https\:\/\//}" # strip "https"
|
||||
NODE="${NODE%%/*}" # strip trailing urlpath
|
||||
|
||||
|
||||
Reference in New Issue
Block a user