Issue #3391461: Harden the use of unserialize in InlineBlock via allowed classes
2 unresolved threads
Compare changes
@@ -4,6 +4,7 @@
@@ -4,6 +4,7 @@
@@ -221,6 +222,20 @@ public function build() {
@@ -221,6 +222,20 @@ public function build() {
return $this->entityTypeManager->getViewBuilder($block->getEntityTypeId())->view($block, $this->configuration['view_mode']);
@@ -230,7 +245,7 @@ public function build() {
@@ -230,7 +245,7 @@ public function build() {
$entity = $this->entityTypeManager->getStorage('block_content')->loadRevision($this->configuration['block_revision_id']);
@@ -274,7 +289,7 @@ public function saveBlockContent($new_revision = FALSE, $duplicate_block = FALSE
@@ -274,7 +289,7 @@ public function saveBlockContent($new_revision = FALSE, $duplicate_block = FALSE