Skip to content

Commit 228c4f5

Browse files
committed
Merge branch 'main' into chore/cleanup_dialogs
2 parents 6f3aef7 + 32c7d0d commit 228c4f5

File tree

5 files changed

+152497
-139409
lines changed

5 files changed

+152497
-139409
lines changed

Scripts/Create-WhoisServerListFromWebAndWhois.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $RootNode = $Document.CreateNode("element", "WhoisServers", $null)
2323
$ProgressCount = 0
2424

2525
foreach ($Tld in $IANA_TLDs) {
26-
if ($Tld.StartsWith("#")) {
26+
if ([string]::IsNullOrWhiteSpace($Tld) -or $Tld.TrimStart().StartsWith("#")) {
2727
continue
2828
}
2929

0 commit comments

Comments
 (0)