From 07e50175f9dcc444a5e14461242260d7a6f92fad Mon Sep 17 00:00:00 2001 From: xream Date: Wed, 30 Oct 2024 16:07:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20cipher=20=E5=BA=94=E4=B8=BA=E5=B0=8F?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/index.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 53bff15..b1a42f4 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.406", + "version": "2.14.407", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/index.js b/backend/src/core/proxy-utils/index.js index fe9f520..1b08143 100644 --- a/backend/src/core/proxy-utils/index.js +++ b/backend/src/core/proxy-utils/index.js @@ -327,6 +327,9 @@ function formatTransportPath(path) { } function lastParse(proxy) { + if (typeof proxy.cipher === 'string') { + proxy.cipher = proxy.cipher.toLowerCase(); + } if (typeof proxy.password === 'number') { proxy.password = numberToString(proxy.password); }