mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-01 20:01:21 +02:00
Uses tolower() utility for hostname conversion
This commit is contained in:
parent
5719fccc93
commit
aa2ebf3c21
@ -21689,7 +21689,7 @@ parse_hn_port() {
|
|||||||
local node_tmp=""
|
local node_tmp=""
|
||||||
|
|
||||||
NODE="$1"
|
NODE="$1"
|
||||||
NODE="${NODE,,}" # Lowercase
|
NODE="$(tolower "$NODE")" # Lowercase
|
||||||
NODE="${NODE/https\:\/\//}" # strip "https"
|
NODE="${NODE/https\:\/\//}" # strip "https"
|
||||||
NODE="${NODE%%/*}" # strip trailing urlpath
|
NODE="${NODE%%/*}" # strip trailing urlpath
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user