4th+ level domain

pull/5117/head
alviy 7 months ago committed by GitHub
parent d1df5f3021
commit 4a8c2251e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -104,7 +104,7 @@ _get_root() {
i=2
p=1
while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100)
h=$(printf "%s" "$domain" | rev | cut -d . -f 1-2 | rev )
if [ -z "$h" ]; then
#not valid
return 1

Loading…
Cancel
Save