Closed zoglo closed 6 months ago
I think the implemntation is basically good, but I think re-parsing the fe_page template is less good. In addition to the performance, the parseHook is also called again.
Furthermore the implementation depends on the sections and positions in the fe_page template not being removed. Also it depends on RegularPages and is not valid for other PageTypes like errorPage, etc.
Error pages still extend from Pageregular so there wouldn't be any problem here.
Closed in favor of #192
This PR addresses #190 due to not being able to get the CSP nonce within the KernelRequest (as it's way too early).
Changes