Bug 51956 - RemoteAddrFilter uses remote host (not address) in doFilterEvent
RemoteAddrFilter uses remote host (not address) in doFilterEvent
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
trunk
PC All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
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.