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
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue