oscerd opened a new pull request, #23993:
URL: https://github.com/apache/camel/pull/23993

   Backport to `camel-4.14.x` of CAMEL-23588 (main commit `d5a717dd0f8`).
   
   ## Note: adapted, not a verbatim backport
   
   On `camel-4.14.x`, `UndertowHeaderFilterStrategy` is the **`@deprecated`** 
implementation extending `DefaultHeaderFilterStrategy` (on main / 4.18.x it was 
rewritten to extend `HttpHeaderFilterStrategy`). A verbatim cherry-pick is 
therefore impossible. The change is adapted to 4.14.x's structure: the existing 
`initialize()` now adds the legacy `websocket.` prefix to the in/out filter 
prefixes (alongside `Camel` / `camel`).
   
   The `DefaultHeaderFilterStrategy.doFiltering` `lowerCase` fallback matches 
the prefix case-insensitively, so `websocket.*` headers (in any case) are 
filtered in both directions — behaviour equivalent to main.
   
   ## Changes
   
   - `UndertowHeaderFilterStrategy`: add `WEBSOCKET_FILTER_STARTS_WITH = 
"websocket."` and include it in `setOutFilterStartsWith` / 
`setInFilterStartsWith`.
   - `camel-4x-upgrade-guide-4_14.adoc`: add the `camel-undertow` "potential 
breaking change" entry, grouped with the existing `camel-vertx-websocket` / 
`camel-atmosphere-websocket` (CAMEL-23532) family.
   
   The matching entry will be synced to the `4_14` upgrade guide on `main` in a 
separate doc-sync PR, per the upgrade-guide policy.
   
   ---
   _Claude Code on behalf of Andrea Cosentino_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to