mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-02 18:18:29 +02: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=""
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user