Skip to content

form/process/save/body default setting does not pass security check #4021

@canuckdev

Description

@canuckdev

Using latest dev image, I notice the form/process/save/body default setting does not pass security check as it uses the include tag.

So

    process:
        save:
          body: "{% include 'forms/data.txt.twig' %}" # include tag is blocked by security!

can be the text in forms/data.txt.twig

    process:
        save:
          body: "{% extends 'forms/default/data.txt.twig' %}" # include tag is blocked by security!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions