- Fix duplication of com|net|org|biz|info - Fix broken travel (missing |)
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@929 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
f88c8abbd6
commit
1d10542af0
@ -340,8 +340,8 @@ sub lookup_start {
|
|||||||
[a-zA-Z0-9][a-zA-Z0-9\-.]+\. # hostname
|
[a-zA-Z0-9][a-zA-Z0-9\-.]+\. # hostname
|
||||||
(?:aero|arpa|asia|biz|cat|com|coop| # tld
|
(?:aero|arpa|asia|biz|cat|com|coop| # tld
|
||||||
edu|gov|info|int|jobs|mil|mobi|
|
edu|gov|info|int|jobs|mil|mobi|
|
||||||
museum|name|net|org|pro|tel|travel
|
museum|name|net|org|pro|tel|travel|
|
||||||
com|net|org|biz|info|[a-zA-Z]{2})
|
[a-zA-Z]{2})
|
||||||
)(?!\w)
|
)(?!\w)
|
||||||
}gix) {
|
}gix) {
|
||||||
my $host = lc $1;
|
my $host = lc $1;
|
||||||
@ -372,8 +372,8 @@ sub lookup_start {
|
|||||||
[a-zA-Z0-9][a-zA-Z0-9\-.]+\. # hostname
|
[a-zA-Z0-9][a-zA-Z0-9\-.]+\. # hostname
|
||||||
(?:aero|arpa|asia|biz|cat|com|coop| # tld
|
(?:aero|arpa|asia|biz|cat|com|coop| # tld
|
||||||
edu|gov|info|int|jobs|mil|mobi|
|
edu|gov|info|int|jobs|mil|mobi|
|
||||||
museum|name|net|org|pro|tel|travel
|
museum|name|net|org|pro|tel|travel|
|
||||||
com|net|org|biz|info|[a-zA-Z]{2})
|
[a-zA-Z]{2})
|
||||||
}gix) {
|
}gix) {
|
||||||
my $host = lc $1;
|
my $host = lc $1;
|
||||||
my @host_domains = split /\./, $host;
|
my @host_domains = split /\./, $host;
|
||||||
|
Loading…
Reference in New Issue
Block a user