Bug 63196 - Add sane default value for RemoteIpValue#protocolHeader
Summary: Add sane default value for RemoteIpValue#protocolHeader
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 8.5.34
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-21 14:53 UTC by Michael Osipov
Modified: 2019-03-14 11:58 UTC (History)
1 user (show)



Attachments

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