Skip to content

Commit a88c7cf

Browse files
Alexander MakeevYaroslav Voronoy
authored andcommitted
MAGETWO-45594: XSS code still can be saved into database
- Fixed bug in iframe constructor
1 parent 8ea3585 commit a88c7cf

File tree

3 files changed

+1
-31
lines changed

3 files changed

+1
-31
lines changed

app/code/Magento/Paypal/Block/Iframe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ public function __construct(
8989
$this->_hssHelper = $hssHelper;
9090
$this->_orderFactory = $orderFactory;
9191
$this->_checkoutSession = $checkoutSession;
92-
parent::__construct($context, $data);
9392
$this->_isScopePrivate = true;
9493
$this->readFactory = $readFactory;
9594
$this->reader = $reader;
95+
parent::__construct($context, $data);
9696
}
9797

9898
/**

app/code/Magento/Paypal/view/frontend/templates/payflowadvanced/iframe.phtml

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/code/Magento/Paypal/view/frontend/templates/payflowlink/iframe.phtml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)