Closed
Description
Since #20224 , I have this error, for instance when displaying the profiler :
Invalid escaping strategy "name" (valid ones: html, js, url, css, html_attr) in "@WebProfiler/Profiler/results.html.twig" at line 1.
Seems to be related to the configuration key autoescape
in Configuration.php which default has switched from filename
to name
.
A workaround is to manually set it back to filename
in the project config :
twig:
autoescape: 'filename'