Skip to content

Commit 734c7f8

Browse files
author
OlgaVasyltsun
committed
MC-17865: Finalize @codingStandardsIgnoreFile elimination in CE
1 parent 6cce7ff commit 734c7f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Cms/view/adminhtml/templates/browser/content/uploader.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
$filters = $block->getConfig()->getFilters() ?? [];
1010
$allowedExtensions = [];
11-
$blockHtmlId = $block->escapeHtml($block->getHtmlId());
11+
$blockHtmlId = $block->getHtmlId();
1212

1313
foreach ($filters as $media_type) {
1414
$allowedExtensions = array_merge($allowedExtensions, array_map(function ($fileExt) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"categoryTree": {
2323
"data": <?= /* @noEscape */
2424
$this->helper(\Magento\Framework\Json\Helper\Data::class)->jsonEncode($block->getTreeArray()); ?>,
25-
"url": "<?= $block->escapeUrl($block->getLoadTreeUrl()); ?>"
25+
"url": "<?= $block->escapeJs($block->escapeUrl($block->getLoadTreeUrl())); ?>"
2626
}
2727
}
2828
}

0 commit comments

Comments
 (0)