Bug 49443 - RemoteIpValve : remoteIpHeader vs remoteIPHeader
RemoteIpValve : remoteIpHeader vs remoteIPHeader
Product: Tomcat 6
Classification: Unclassified
Component: Documentation
PC Windows XP
: P2 minor (vote)
: default
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2010-06-15 07:38 UTC by Sylvain Laurent
Modified: 2010-06-26 07:12 UTC (History)
0 users


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.