Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / big_pipe / src / Render / Placeholder / BigPipeStrategy.php
index f967ebaff96fe9610e8a007135f805a8b9dba33d..3d9f45cf3e8ff0f3dbe55082a933051883214428 100644 (file)
@@ -109,7 +109,7 @@ class BigPipeStrategy implements PlaceholderStrategyInterface {
     $request = $this->requestStack->getCurrentRequest();
 
     // @todo remove this check when https://www.drupal.org/node/2367555 lands.
-    if (!$request->isMethodSafe()) {
+    if (!$request->isMethodCacheable()) {
       return [];
     }