Skip to content

Commit f62fc68

Browse files
committed
Revert current implementation for addressing Varnish/ESI special chars in layout handles issue.
1 parent 4126ab6 commit f62fc68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/Model/Observer/ProcessLayoutRenderElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function _wrapEsi(
3737
'page_cache/block/esi',
3838
[
3939
'blocks' => json_encode([$block->getNameInLayout()]),
40-
'handles' => urlencode(json_encode($layout->getUpdate()->getHandles()))
40+
'handles' => json_encode($layout->getUpdate()->getHandles())
4141
]
4242
);
4343
return sprintf('<esi:include src="%s" />', $url);

0 commit comments

Comments
 (0)