From 93cba75d74c84208f7b4b67e268e03b00bdd67a6 Mon Sep 17 00:00:00 2001 From: Magento EngCom Team Date: Tue, 23 Jan 2018 10:55:29 -0600 Subject: [PATCH] :arrow_double_up: Forwardport of magento/magento2#11710 to 2.3-develop branch Applied pull request patch https://github.com/magento/magento2/pull/11710.patch (created by @gabrielqs-redstage) based on commit(s): 1. fb842675fcbc7c1e60fe80404204c6dd759a626b Fixed GitHub Issues in 2.3-develop branch: - magento/magento2#9763: When go checkout,Cart Price Rules 25%test coupon code can go wrong (reported by @michaeldyl520) --- .../view/frontend/web/js/model/resource-url-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Checkout/view/frontend/web/js/model/resource-url-manager.js b/app/code/Magento/Checkout/view/frontend/web/js/model/resource-url-manager.js index 2d27d4a032b24..410f5b4927374 100644 --- a/app/code/Magento/Checkout/view/frontend/web/js/model/resource-url-manager.js +++ b/app/code/Magento/Checkout/view/frontend/web/js/model/resource-url-manager.js @@ -75,8 +75,8 @@ define([ quoteId: quoteId } : {}, urls = { - 'guest': '/guest-carts/' + quoteId + '/coupons/' + couponCode, - 'customer': '/carts/mine/coupons/' + couponCode + 'guest': '/guest-carts/' + quoteId + '/coupons/' + encodeURIComponent(couponCode), + 'customer': '/carts/mine/coupons/' + encodeURIComponent(couponCode) }; return this.getUrl(urls, params);