Skip to content

Commit 0b67038

Browse files
authored
Merge pull request #151 from magento-commerce/develop
MCLOUD-13801: Cloud patches release 1.1.9
2 parents bff95f3 + 5b4a239 commit 0b67038

4 files changed

+91
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/magento-cloud-patches",
33
"description": "Provides critical fixes for Magento 2 Enterprise Edition",
44
"type": "magento2-component",
5-
"version": "1.1.8",
5+
"version": "1.1.9",
66
"license": "OSL-3.0",
77
"repositories": {
88
"repo.magento.com": {

patches.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,12 @@
301301
},
302302
"Patch - Improve-web-api-async-performance": {
303303
">=2.4.4 <2.4.4-p13 || >=2.4.5 <2.4.5-p12 || >=2.4.6 <2.4.6-p10 || >=2.4.7 <2.4.7-p5 || 2.4.8": "MCLOUD-13619__Improve_web_api_async_performance__2.4.x.patch"
304+
},
305+
"Patch for CVE-2025-47109 - Improve-category-view": {
306+
"2.4.8": "MCLOUD-13752__Patch_for_CVE-2025-47109_Improve_category_view__2.4.8.patch"
307+
},
308+
"Patch for CVE-2025-47110 - Improve-admin-cache-efficiency": {
309+
">=2.4.4 <2.4.4-p14 || >=2.4.5 <2.4.5-p13 || >=2.4.6 <2.4.6-p11 || >=2.4.7 <2.4.7-p6 || 2.4.8": "MCLOUD-13753__Patch_for_CVE-2025-47110_improve-admin-cache-efficiency__2.4.x.patch"
304310
}
305311
},
306312
"magento/module-paypal": {
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
diff --git a/vendor/magento/module-catalog/Helper/Category.php b/vendor/magento/module-catalog/Helper/Category.php
2+
index fe511d40e9caa..761dc6f62adda 100644
3+
--- a/vendor/magento/module-catalog/Helper/Category.php
4+
+++ b/vendor/magento/module-catalog/Helper/Category.php
5+
@@ -10,8 +10,10 @@
6+
use Magento\Catalog\Model\CategoryFactory;
7+
use Magento\Framework\App\Helper\AbstractHelper;
8+
use Magento\Framework\App\Helper\Context;
9+
+use Magento\Framework\App\ObjectManager;
10+
use Magento\Framework\Data\CollectionFactory;
11+
use Magento\Framework\Data\Tree\Node\Collection;
12+
+use Magento\Framework\Escaper;
13+
use Magento\Framework\Exception\NoSuchEntityException;
14+
use Magento\Framework\ObjectManager\ResetAfterRequestInterface;
15+
use Magento\Store\Model\ScopeInterface;
16+
@@ -63,24 +65,33 @@ class Category extends AbstractHelper implements ResetAfterRequestInterface
17+
*/
18+
protected $categoryRepository;
19+
20+
+ /**
21+
+ * @var Escaper|null
22+
+ */
23+
+ private ?Escaper $escaper;
24+
+
25+
/**
26+
* @param Context $context
27+
* @param CategoryFactory $categoryFactory
28+
* @param StoreManagerInterface $storeManager
29+
* @param CollectionFactory $dataCollectionFactory
30+
* @param CategoryRepositoryInterface $categoryRepository
31+
+ * @param Escaper|null $escaper
32+
*/
33+
public function __construct(
34+
Context $context,
35+
CategoryFactory $categoryFactory,
36+
StoreManagerInterface $storeManager,
37+
CollectionFactory $dataCollectionFactory,
38+
- CategoryRepositoryInterface $categoryRepository
39+
+ CategoryRepositoryInterface $categoryRepository,
40+
+ ?Escaper $escaper = null
41+
) {
42+
$this->_categoryFactory = $categoryFactory;
43+
$this->_storeManager = $storeManager;
44+
$this->_dataCollectionFactory = $dataCollectionFactory;
45+
$this->categoryRepository = $categoryRepository;
46+
+ $this->escaper = $escaper ?: ObjectManager::getInstance()->get(Escaper::class);
47+
+
48+
parent::__construct($context);
49+
}
50+
51+
@@ -204,6 +215,7 @@ public function getCanonicalUrl(string $categoryUrl): string
52+
if ($params && isset($params['p'])) {
53+
$categoryUrl = $categoryUrl . '?p=' . $params['p'];
54+
}
55+
- return $categoryUrl;
56+
+
57+
+ return $this->escaper->escapeUrl($categoryUrl);
58+
}
59+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
diff --git a/vendor/magento/module-email/Model/Template/Filter.php b/vendor/magento/module-email/Model/Template/Filter.php
2+
index f5b69484285cc..f86deacad3b4e 100644
3+
--- a/vendor/magento/module-email/Model/Template/Filter.php
4+
+++ b/vendor/magento/module-email/Model/Template/Filter.php
5+
@@ -1,7 +1,7 @@
6+
<?php
7+
/**
8+
- * Copyright © Magento, Inc. All rights reserved.
9+
- * See COPYING.txt for license details.
10+
+ * Copyright 2011 Adobe
11+
+ * All Rights Reserved.
12+
*/
13+
declare(strict_types=1);
14+
15+
@@ -432,6 +432,10 @@ public function blockDirective($construction)
16+
$block->setDataUsingMethod($k, $v);
17+
}
18+
19+
+ if (!$block->hasData('cache_key')) {
20+
+ $block->setDataUsingMethod('cache_key', $block->getCacheKey());
21+
+ }
22+
+
23+
if (isset($blockParameters['output'])) {
24+
$method = $blockParameters['output'];
25+
}

0 commit comments

Comments
 (0)