Bug 49443 - RemoteIpValve : remoteIpHeader vs remoteIPHeader
Summary: RemoteIpValve : remoteIpHeader vs remoteIPHeader
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 6.0.26
Hardware: PC Windows XP
: P2 minor (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 07:38 UTC by Sylvain Laurent
Modified: 2010-06-26 07:12 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Laurent 2010-06-15 07:38:37 UTC
In the doc for the RemoteIpValve (http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html), the remoteIPHeader attribute is mentionned, but actually it should be remoteIpHeader (notice the lowercase "p") since the setter method is setRemoteIpHeader(..).
Comment 1 Mark Thomas 2010-06-18 07:33:22 UTC
Thanks for the report. I've cleaned the code and the docs up for 7.0.x and that will be in 7.0.1 onwards. I have also proposed a patch to clean up 6.0.x.
Comment 2 Konstantin Kolinko 2010-06-26 07:12:41 UTC
Fixed in 6.0 in r958195 and will be in 6.0.28 onwards.