Skip to content

How to migrate from legacy compliance mode #12806

@dudaerich

Description

@dudaerich

Jetty Version
12.0.9

Jetty Environment
ee8

Java Version
21

Question

Hi community, I would like to ask question about Jetty compliance mode. We are in a situation that we use legacy compliance mode for URIs and Cookies as it was easier for us to be backward compatible when we moved our application into Jetty. We are trying to figure out how to move on from this state.

In the first step, we would like to identify requests with violations and only log them so we can investigate origin of the requests and fix it. ComplianceViolation.Listener seems to be a great fit for this use case, but it catches only violations not present in compliance mode. So we cannot be backward compatible and in the same time log the violations.

It would help us if the ComplianceViolation.Listener was invoked even if the violation is present in the compliance mode. What do you think?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions