Skip to content

Commit 981009a

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-45289-XSS-Admin' into SWAT-BugFixes-11Oct
2 parents 7c5c275 + 9ba96ec commit 981009a

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/view

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/view/info.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ $orderStoreDate = $block->formatDate(
132132
</tr>
133133
<tr>
134134
<th><?php /* @escapeNotVerified */ echo __('Email') ?></th>
135-
<td><a href="mailto:<?php /* @escapeNotVerified */ echo $_order->getCustomerEmail() ?>"><?php /* @escapeNotVerified */ echo $_order->getCustomerEmail() ?></a></td>
135+
<td><a href="mailto:<?php echo $block->escapeHtml($_order->getCustomerEmail()) ?>"><?php echo $block->escapeHtml($_order->getCustomerEmail()) ?></a></td>
136136
</tr>
137137
<?php if ($_groupName = $block->getCustomerGroupName()) : ?>
138138
<tr>

0 commit comments

Comments
 (0)