Skip to content

Commit f67b6fd

Browse files
committed
MAGETWO-99482: Use escaper methods
- use escaper methods
1 parent c0cbc16 commit f67b6fd

File tree

13 files changed

+2
-37
lines changed

13 files changed

+2
-37
lines changed

app/code/Magento/Integration/view/adminhtml/templates/integration/activate/permissions.phtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*
88
* @var \Magento\Backend\Block\Widget\Form\Container $block
99
*/
10-
11-
// @codingStandardsIgnoreFile
1210
?>
1311
<div><p><?= $block->escapeHtml(__('The integration you selected asks you to approve access to the following:')) ?></p></div>
1412
<div id="integration-activate-permissions-tabs">

app/code/Magento/Integration/view/adminhtml/templates/integration/activate/permissions/tab/webapi.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
*
88
* @var \Magento\Integration\Block\Adminhtml\Integration\Activate\Permissions\Tab\Webapi $block
99
*/
10-
11-
// @codingStandardsIgnoreFile
12-
1310
?>
1411
<fieldset class="admin__fieldset form-inline entry-edit">
1512
<?php if ($block->isTreeEmpty()): ?>

app/code/Magento/Integration/view/adminhtml/templates/integration/popup_container.phtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*
88
* @var \Magento\Backend\Block\Template $block
99
*/
10-
11-
// @codingStandardsIgnoreFile
1210
?>
1311
<script>
1412
require([

app/code/Magento/Integration/view/adminhtml/templates/integration/tokens_exchange.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@
77
*
88
* @var \Magento\Backend\Block\Template $block
99
*/
10-
11-
// @codingStandardsIgnoreFile
12-
1310
?>
1411
<div><p><?= $block->escapeHtml(__("Please setup or sign in into your 3rd party account to complete setup of this integration.")) ?></p></div>

app/code/Magento/Integration/view/adminhtml/templates/resourcetree.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
7-
// @codingStandardsIgnoreFile
8-
96
?>
107

118
<?php

app/code/Magento/Marketplace/view/adminhtml/templates/index.phtml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
7-
// @codingStandardsIgnoreFile
86
?>
97

108
<section class="page-partners">
@@ -73,8 +71,8 @@
7371
{
7472
"*": {
7573
"Magento_Marketplace/default": {
76-
"url": "<?= $block->getUrl('marketplace/partners/index',
77-
['_current' => true, 'block' => '', 'period' => '']) ?>"
74+
"url": "<?= $block->escapeUrl($block->getUrl('marketplace/partners/index',
75+
['_current' => true, 'block' => '', 'period' => ''])) ?>"
7876
}
7977
}
8078
}

app/code/Magento/Marketplace/view/adminhtml/templates/partners.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
7-
// @codingStandardsIgnoreFile
8-
96
?>
107
<?php
118
$partners = $block->getPartners();

app/code/Magento/User/view/adminhtml/templates/admin/forgotpassword.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
7-
// @codingStandardsIgnoreFile
8-
96
?>
107
<form method="post" action="" id="login-form" data-mage-init='{"form": {}, "validation": {}}'>
118
<fieldset class="admin__fieldset">

app/code/Magento/User/view/adminhtml/templates/admin/forgotpassword_url.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
7-
// @codingStandardsIgnoreFile
8-
96
?>
107
<div class="links">
118
<a class="action-forgotpassword" href="<?= $block->escapeUrl($this->helper('Magento\Backend\Helper\Data')->getUrl('adminhtml/auth/forgotpassword', ['_nosecret' => true])) ?>"><?= $block->escapeHtml(__('Forgot your password?')) ?></a>

app/code/Magento/User/view/adminhtml/templates/admin/resetforgottenpassword.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
7-
// @codingStandardsIgnoreFile
8-
96
?>
107

118
<form method="post" data-mage-init='{"form": {}, "validation": {}}' action="<?= $block->escapeUrl($block->getUrl('*/auth/resetpasswordpost', ['_query' => ['id' => $block->getUserId(), 'token' => $block->getResetPasswordLinkToken()]])) ?>" id="reset-password-form" autocomplete="off">

0 commit comments

Comments
 (0)