Skip to content

Commit 8ea3585

Browse files
Alexander MakeevYaroslav Voronoy
authored andcommitted
MAGETWO-45594: XSS code still can be saved into database
- Added templates for redirect
1 parent 568df20 commit 8ea3585

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
/**
8+
* @var \Magento\Paypal\Block\Payflow\Link\Iframe $block
9+
*/
10+
?>
11+
<div id="iframe-warning" class="message notice">
12+
<div><?php echo $block->escapeHtml(__('Please do not refresh the page until you complete payment.')); ?></div>
13+
</div>
14+
<iframe id="hss-iframe" data-container="paypal-iframe" class="paypal iframe" scrolling="no" frameborder="0" border="0"
15+
src="<?php echo $block->escapeUrl($block->getFrameActionUrl()); ?>" height="610" width="100%"></iframe>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
/**
8+
* @var \Magento\Paypal\Block\Payflow\Link\Iframe $block
9+
*/
10+
?>
11+
<div id="iframe-warning" class="message notice">
12+
<div><?php echo $block->escapeHtml(__('Please do not refresh the page until you complete payment.')); ?></div>
13+
</div>
14+
<iframe id="hss-iframe" data-container="paypal-iframe" class="paypal iframe" scrolling="no" frameborder="0" border="0"
15+
src="<?php echo $block->escapeUrl($block->getFrameActionUrl()); ?>" height="610" width="100%"></iframe>

0 commit comments

Comments
 (0)