Bug 65267 - Implement mod_headers like filter
Summary: Implement mod_headers like filter
Status: NEW
Alias: None
Product: Tomcat 10
Classification: Unclassified
Component: Catalina (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ------
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
: 58837 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-27 11:42 UTC by Mark Thomas
Modified: 2021-05-11 16:01 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Thomas 2021-04-27 11:42:46 UTC
We are seeing an increasing number of issues caused by poorly written applications writing invalid and/or inappropriate HTTP headers. A common example is a simple HTTP proxy that blindly copies all the HTTP response headers it receives. When this includes per-hop headers such as Transfer-Encoding breakage often follows.

The most recent discussion on this topic was on the dev list:
http://markmail.org/thread/3ajgz6yjgski5svz

This discussion concluded a mod_headers like filter would address this issue and be a useful addition to Tomcat. This enhancement request is to implement such a Filter.

The expectation is that it would be back-ported to 9.0.x and 8.5.x.
Comment 1 Mark Thomas 2021-05-06 15:57:07 UTC
Link to more recent discussion where an alternative solution was discussed:
https://markmail.org/thread/onzczbc6f73lsntb
Comment 2 Mark Thomas 2021-05-11 16:01:23 UTC
*** Bug 58837 has been marked as a duplicate of this bug. ***