Skip to content

Commit 670a3c2

Browse files
author
Joan He
committed
MAGETWO-99477:[Backport for 2.2] Eliminate @escapeNotVerified in Checkout-related (CE) Modules
1 parent 04aab48 commit 670a3c2

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/templates/cart

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/templates/cart/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
method="post"
1515
id="form-validate"
1616
data-mage-init='{"Magento_Checkout/js/action/update-shopping-cart":
17-
{"validationURL" : "<?= /* @escapeNotVerified */ $block->getUrl('checkout/cart/updateItemQty') ?>",
17+
{"validationURL" : "<?= $block->escapeUrl($block->getUrl('checkout/cart/updateItemQty')) ?>",
1818
"updateCartActionContainer": "#update_cart_action_container"}
1919
}'
2020
class="form form-cart">

0 commit comments

Comments
 (0)