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

Adriano Machado resolved CAMEL-23800.
-------------------------------------
    Fix Version/s:     (was: 4.21.0)
       Resolution: Won't Fix

PR #24122 closed

> 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: Minor
>
> 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