Bug 66439 - Update from 8.5.84 to 8.5.85 makes custom Valve dysfunctional
Summary: Update from 8.5.84 to 8.5.85 makes custom Valve dysfunctional
Status: RESOLVED WORKSFORME
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 8.5.85
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-23 08:06 UTC by Alexander Veit
Modified: 2023-02-24 10:28 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Veit 2023-01-23 08:06:19 UTC
After update from Tomcat 8.5.84 to 8.5.85 a custom Valve deployed below the Context element in the ROOT.xml no longer works.

<Valve className="the.custom.RewriteValve"/>

The Valve is basically a custom RewriteValve for certain application specific paths. With Tomcat 8.5.85 it seems to be called as before but the rewritten paths do not have an effect. Instead of serving content from the rewritten location Tomcat answers with a 404 status code. 

Tomcat runs in embedded mode.
Comment 1 Mark Thomas 2023-01-23 08:30:53 UTC
There is insufficient information in this report for anyone to figure out what might be going wrong.

Please provide the simplest possible PoC (with source code) that demonstrates the problem.
Comment 2 Mark Thomas 2023-02-24 10:28:18 UTC
A month has passed since additional information was requested and none has been provided. I am therefore closing this as WORKSFORME.

If this issue is re-opened, the requested information must be provided.