Skip to content

Commit ff05e3c

Browse files
committed
MC-29377: Preview URLs
1 parent 67a47c9 commit ff05e3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/view/frontend/templates/js/customer-data.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
{
1111
"*": {
1212
"Magento_Customer/js/customer-data": {
13-
"sectionLoadUrl": "<?= $block->escapeJs($block->escapeUrl($block->getCustomerDataUrl('customer/section/load'))) ?>",
13+
"sectionLoadUrl": "<?= $block->escapeJs($block->getCustomerDataUrl('customer/section/load')) ?>",
1414
"expirableSectionLifetime": <?= (int)$block->getExpirableSectionLifetime() ?>,
1515
"expirableSectionNames": <?= /* @noEscape */ $this->helper(\Magento\Framework\Json\Helper\Data::class)->jsonEncode($block->getExpirableSectionNames()) ?>,
1616
"cookieLifeTime": "<?= $block->escapeJs($block->getCookieLifeTime()) ?>",
17-
"updateSessionUrl": "<?= $block->escapeJs($block->escapeUrl($block->getCustomerDataUrl('customer/account/updateSession'))) ?>"
17+
"updateSessionUrl": "<?= $block->escapeJs($block->getCustomerDataUrl('customer/account/updateSession')) ?>"
1818
}
1919
}
2020
}

0 commit comments

Comments
 (0)