diff options
author | lookshe <github@lookshe.org> | 2015-10-12 12:49:33 +0200 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2015-10-12 12:49:33 +0200 |
commit | 71c56d1d1188fbbfb1849e2519f93003d7dab340 (patch) | |
tree | 97673cbfb2f28d6b3961e2182178cfa6162e07a2 | |
parent | 3cf77bee7c53bb86069fde01f9c59f30a7cb999f (diff) |
fixed bug with punycode domains
Diffstat (limited to '')
-rw-r--r-- | tld.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ for ($i = 0; $i < $#$table && found != 1; $i++) { $tabletype_enc = encode("utf8", $$table[$i+1]); #print "$$table[$i+1] is $$table[$i+2]\n"; - if ($tabletype_enc =~ /$type/) + if ($tabletype_enc =~ /^$type$/) { ($result = $$table[$i+2]) =~ s/^ //; print "$type is "; |