Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 342 Bytes

2020-12-07-skip-csrf-replacement-on-streamed-responses.md

File metadata and controls

9 lines (9 loc) · 342 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: skip csrf replacement on streamed responses
issue: NEXT-12009
author: Alexander Menk
author_email: menk@mestrona.net
author_github: @amenk
---

Storefront

  • Changed src/Storefront/Framework/Csrf/CsrfPlaceholderHandler.php to skip replacement if $response is an instance of Symfony\Component\HttpFoundation\StreamedResponse