Skip to content

Introduce flag in Rewrite Rules to preserve UriCompliance Violations when rewriting URIs #15822

Description

@joakime

Jetty version(s)
12.1.x

Enhancement Description
Currently, if using the RewriteCustomizer with a Rewrite Rule that modifies the HTTP URI, any UriCompliance information from the original HTTP URI is lost.

We should introduce a configuration on Rewrite Rules that modify the HTTP URI to preserve the UriCompliance violations from the original HTTP URI to the newly rewritten HTTP URI. This will allow users that want to be notified to their ComplianceViolation.Listeners of the original violations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EnhancementSponsoredThis issue affects a user with a commercial support agreement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions