Bug 63196

Summary: Add sane default value for RemoteIpValue#protocolHeader
Product: Tomcat 8 Reporter: Michael Osipov <michaelo>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: enhancement CC: michaelo
Priority: P2    
Version: 8.5.34   
Target Milestone: ----   
Hardware: All   
OS: All   

Description Michael Osipov 2019-02-21 14:53:43 UTC
protocolHeader field does not have a default value while it often talks about "X-Forwarded-Proto" and this is very popuplar one, like "X-Forwarded-By" or X-Forwaded-For". We should set it as default value to reduce use configuration for most cases.
Comment 1 Mark Thomas 2019-03-14 11:58:07 UTC
Fixed in:
- master for 9.0.18 onwards
- 8.5.x for 8.5.40 onwards
- 7.0.x for 7.0.94 onwards