Bug 51956 - RemoteAddrFilter uses remote host (not address) in doFilterEvent
Summary: RemoteAddrFilter uses remote host (not address) in doFilterEvent
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: trunk
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 21:58 UTC by Christopher Schultz
Modified: 2011-10-04 22:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.