File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Cms/view/adminhtml/templates/browser/content
UrlRewrite/view/adminhtml/templates Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
$ filters = $ block ->getConfig ()->getFilters () ?? [];
10
10
$ allowedExtensions = [];
11
- $ blockHtmlId = $ block ->escapeHtml ( $ block -> getHtmlId () );
11
+ $ blockHtmlId = $ block ->getHtmlId ();
12
12
13
13
foreach ($ filters as $ media_type ) {
14
14
$ allowedExtensions = array_merge ($ allowedExtensions , array_map (function ($ fileExt ) {
Original file line number Diff line number Diff line change 22
22
"categoryTree": {
23
23
"data": <?= /* @noEscape */
24
24
$ 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 () )); ?> "
26
26
}
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments