Skip to content

OncePerRequestFilter does not work properly on Error Dispatch on Jetty #22989

@rwinch

Description

@rwinch

Instances of OncePerRequestFilter do not get invoked for error dispatch types on Jetty (works on Tomcat) even when the following conditions are true:

  • The Filter is configured to dispatch on error dispatch types
  • The Filter returns false for shouldNotFilterErrorDispatch

Sample

https://github.com/rwinch/onceperrequest-error-dispatch

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions