From dda8113a423c5455ddfe7f2757aa662c3ab34716 Mon Sep 17 00:00:00 2001 From: xream Date: Wed, 4 Dec 2024 00:56:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20subscription-useri?= =?UTF-8?q?nfo=20=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/utils/flow.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index 9757847..c46f131 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.433", + "version": "2.14.434", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/utils/flow.js b/backend/src/utils/flow.js index f7bd676..176d565 100644 --- a/backend/src/utils/flow.js +++ b/backend/src/utils/flow.js @@ -18,7 +18,9 @@ export function getFlowField(headers) { } } - return `${sub || ''}${webPage ? `;app_url=${webPage}` : ''}`; + return `${sub || ''}${ + webPage ? `; app_url=${encodeURIComponent(webPage)}` : '' + }`; } export async function getFlowHeaders( rawUrl,