Skip to content

2.2.36

Latest

Choose a tag to compare

@rhukster rhukster released this 30 Nov 17:44
ab57c4c

Bugfix

  • Form emails and save actions whose body includes forms/default/data.txt.twig, forms/default/data.html.twig or forms/default/data.save.txt.twig render again with the Twig sandbox on. Only the forms/data.* names were trusted partials, so the {% autoescape %} tag in the default templates was refused and the email went out with the raw Twig as its body. The forms/data.* templates only extend the default/ ones, so trusting both names grants nothing new
  • Collections sorted with different sort_flags in the same request each get their own order instead of reusing the first one's, and Pages::sort() with explicit flags no longer replaces the folder's stored order. Thanks @ZainnQureshii #4431