Skip to content

Commit 222d997

Browse files
author
lakshmana
committed
ACP2E-1703 : Category URL rewrites cannot be created for categories under level 3
- Added no escape for json output
1 parent 01f487b commit 222d997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/UrlRewrite/view/adminhtml/templates/categories.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $root = $block->getRoot(null, 0)
2121
{
2222
".jstree-default": {
2323
"categoryTree": {
24-
"data": <?= $block->getTreeArray(null, true); ?>,
24+
"data": <?= /* @noEscape */ $block->getTreeArray(null, true); ?>,
2525
"url": "<?= $block->escapeJs($block->escapeUrl($block->getLoadTreeUrl())); ?>"
2626
}
2727
}

0 commit comments

Comments
 (0)