Skip to content

Commit 4de2190

Browse files
committed
AC-9460: Stored XSS fix via PayPal authentication certificate
* BIC fix
1 parent 84aa6cf commit 4de2190

File tree

1 file changed

+2
-7
lines changed
  • app/code/Magento/Config/Block/System/Config/Form/Field

1 file changed

+2
-7
lines changed

app/code/Magento/Config/Block/System/Config/Form/Field/File.php

100644100755
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919

2020
class File extends \Magento\Framework\Data\Form\Element\File
2121
{
22-
/**
23-
* @var Escaper
24-
*/
25-
private Escaper $escaper;
26-
2722
/**
2823
* @param Factory $factoryElement
2924
* @param CollectionFactory $factoryCollection
@@ -45,7 +40,7 @@ public function __construct(
4540
*
4641
* @return string
4742
*/
48-
public function getElementHtml(): string
43+
public function getElementHtml()
4944
{
5045
$html = parent::getElementHtml();
5146
$html .= $this->_getDeleteCheckbox();
@@ -57,7 +52,7 @@ public function getElementHtml(): string
5752
*
5853
* @return string
5954
*/
60-
protected function _getDeleteCheckbox(): string
55+
protected function _getDeleteCheckbox()
6156
{
6257
$html = '';
6358
if ((string)$this->getValue()) {

0 commit comments

Comments
 (0)