Skip to content

CAMEL-23222: Filter inbound Camel headers in MailHeaderFilterStrategy#22151

Closed
gnodet wants to merge 2 commits into
camel-4.16.xfrom
backport-mail-header-4.16.x
Closed

CAMEL-23222: Filter inbound Camel headers in MailHeaderFilterStrategy#22151
gnodet wants to merge 2 commits into
camel-4.16.xfrom
backport-mail-header-4.16.x

Conversation

@gnodet

@gnodet gnodet commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Backport of #22149 to 4.16.x.

Add setInFilterStartsWith(CAMEL_FILTER_STARTS_WITH) to MailHeaderFilterStrategy to prevent external sources from injecting Camel-prefixed headers on inbound messages.

Also fixes CAMEL-23224.

Add setInFilterStartsWith(CAMEL_FILTER_STARTS_WITH) to MailHeaderFilterStrategy to prevent external sources from injecting Camel-prefixed headers on inbound messages.
@oscerd

oscerd commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

4.16 Is not active. No need to backport here

@gnodet gnodet closed this Mar 20, 2026
@gnodet gnodet reopened this Mar 20, 2026
@gnodet gnodet closed this Mar 20, 2026
@gnodet gnodet deleted the backport-mail-header-4.16.x branch March 20, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants