Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-351

JXLT Template fails when using sandboxing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.2
    • 3.2.1
    • None

    Description

      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.

      Attachments

        Activity

          People

            henrib Henri Biestro
            henrib Henri Biestro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: