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

Claus Ibsen updated CAMEL-23800:
--------------------------------
    Fix Version/s: 4.21.0

> Simple language: prefix function cache keys to enforce keyspace separation 
> from expression cache
> ------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23800
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23800
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Adriano Machado
>            Assignee: Adriano Machado
>            Priority: Major
>             Fix For: 4.21.0
>
>
> SimpleFunctionExpression shared a cache with the general simple expression 
> evaluator. A function key such as 'body' could collide with an expression key 
> of the same value, returning a wrong cached result. The fix prefixes all 
> function cache keys with 'fn:' to guarantee the two keyspaces never overlap.
> Discovered during the work on CAMEL\-22894 \(simple language parser 
> hardening\).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to