Adriano Machado created CAMEL-23800:
---------------------------------------

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


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