Bug 51956

Summary: RemoteAddrFilter uses remote host (not address) in doFilterEvent
Product: Tomcat 7 Reporter: Christopher Schultz <chris>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: trunk   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Christopher Schultz 2011-10-04 21:58:18 UTC
public void doFilterEvent(CometEvent event, CometFilterChain chain)
            throws IOException, ServletException {
        processCometEvent(event.getHttpServletRequest().getRemoteHost(),
                event, chain);        
    }

Use of getRemoteHost should be getRemoteAddr.
Comment 1 Christopher Schultz 2011-10-04 22:06:43 UTC
Fixed in trunk, 7.0.x. Will be included in 7.0.23.