title | issue |
---|---|
Add twig filter improvements |
NEXT-24667 |
- Added a
SecurityExtension
to allow only a whitelist of functions inside filtersmap
,filter
,reduce
andsort
.
The whitelist can be extended using a yaml configuration:
shopware:
twig:
allowed_php_functions: [ "is_bool" ]