You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/02/05 09:57:00 UTC

[jira] [Resolved] (CAMEL-13160) Remove headers should be case in-sensitive by default

     [ https://issues.apache.org/jira/browse/CAMEL-13160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-13160.
---------------------------------
    Resolution: Fixed

> Remove headers should be case in-sensitive by default
> -----------------------------------------------------
>
>                 Key: CAMEL-13160
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13160
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0
>
>
> The PatternHelper.matchPattern is case sensitive when matching with wildcard and regexp. For exact match then header keys are by default case insensitive so remove foo will remove FOO Foo and foo headers. But remove pattern=foo* will only remove lower-case foo headers. So we should make this case insensitive for all kinds of patterns (exact, wildcard and regexp).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)