Use the glide.ui.jelly.js_interpolation.protect property to ensure that any JavaScript about to be executed on a Jelly page is protected from injection with the help of Jelly interpolation.

When you set property to true, an application goes through a Jelly script tree (nested). It wraps potentially dangerous Jelly expressions with a filter that:
  • Escapes their results to be safe, or
  • If their safety can't be guaranteed, generates a SecurityException because the expression that was going to be evaluated represents a possible security issue.

More information

To learn more about adding or creating a system property, see Add a system property.