[
https://issues.apache.org/jira/browse/JEXL-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Biestro closed JEXL-351.
------------------------------
> JXLT Template fails when using sandboxing
> -----------------------------------------
>
> Key: JEXL-351
> URL: https://issues.apache.org/jira/browse/JEXL-351
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 3.2
> Reporter: Henri Biestro
> Assignee: Henri Biestro
> Priority: Critical
> Fix For: 3.2.1
>
>
> Regression, total loss of functionality.
> In 3.2:
> When the JEXL engine is built with a custom sandboxing Uberspect that
> strictly narrows the classes and methods allowed, the TemplateInterpreter
> methods may end up being in the blocked list. Since the interpreter relies on
> finding the methods to operate, the whole template silently fails with an
> empty content.
> The fix is to mimic 3.1, the AST nodes for the jexl:print and jexl:includes
> calls being interpreted directly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)