Remove parsing of NNTP-Posting-Host.
NNTP-Posting-Host contains the client, not the server. Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
c6432dcd44
commit
93b8d564ba
|
@ -295,12 +295,6 @@ sub HostStats {
|
|||
# reset if IP address
|
||||
undef($Host) if $Host && $Host !~ /[g-z]/i;
|
||||
}
|
||||
# NNTP-Posting-Host
|
||||
if (!$Host && $Header{'nntp-posting-host'}) {
|
||||
($Host) = $Header{'nntp-posting-host'} =~ /^\s*([a-z0-9-_]+\.[a-z0-9-_.]+)/i;
|
||||
# reset if IP address
|
||||
undef($Host) if $Host && $Host !~ /[g-z]/i;
|
||||
}
|
||||
# Path
|
||||
if (!$Host) {
|
||||
if ($Header{'path'} =~ /!([^!]+)!.POSTED!/) {
|
||||
|
|
Loading…
Reference in a new issue