shawenguan 2 سال پیش
والد
کامیت
83f0c07adc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Scripts/gandart/gandartPay.js

+ 1 - 1
Scripts/gandart/gandartPay.js

@@ -400,7 +400,7 @@ async function confirmPassword(accountPassword) {
         try {
             const headers = GCommonGandartHeads;
             headers.Host = "api.gandart.com";
-            const body = `accountPassword=${accountPassword}`;
+            const body = `accountPassword=${encodeURIComponent(accountPassword)}`;
             let url = {
                 url: `${config.BASE_API}/user/confirmPassword`,
                 headers: headers,