diff --git a/backend/package.json b/backend/package.json index fe1583ff3..bff6af159 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.196", + "version": "2.14.197", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/producers/clash.js b/backend/src/core/proxy-utils/producers/clash.js index c17fc875c..5348bab78 100644 --- a/backend/src/core/proxy-utils/producers/clash.js +++ b/backend/src/core/proxy-utils/producers/clash.js @@ -144,6 +144,10 @@ export default function Clash_Producer() { proxy.fingerprint = proxy['tls-fingerprint']; } delete proxy['tls-fingerprint']; + if (isPresent(proxy, 'tls') && typeof proxy.tls !== 'boolean') { + delete proxy.tls; + } + delete proxy.subName; delete proxy.collectionName; if ( diff --git a/backend/src/core/proxy-utils/producers/clashmeta.js b/backend/src/core/proxy-utils/producers/clashmeta.js index b77b0b21f..882bb7ef4 100644 --- a/backend/src/core/proxy-utils/producers/clashmeta.js +++ b/backend/src/core/proxy-utils/producers/clashmeta.js @@ -160,6 +160,9 @@ export default function ClashMeta_Producer() { proxy.fingerprint = proxy['tls-fingerprint']; } delete proxy['tls-fingerprint']; + if (isPresent(proxy, 'tls') && typeof proxy.tls !== 'boolean') { + delete proxy.tls; + } delete proxy.subName; delete proxy.collectionName; if ( diff --git a/backend/src/core/proxy-utils/producers/shadowrocket.js b/backend/src/core/proxy-utils/producers/shadowrocket.js index ff6d927d3..20e17f4e9 100644 --- a/backend/src/core/proxy-utils/producers/shadowrocket.js +++ b/backend/src/core/proxy-utils/producers/shadowrocket.js @@ -163,6 +163,9 @@ export default function ShadowRocket_Producer() { proxy.fingerprint = proxy['tls-fingerprint']; } delete proxy['tls-fingerprint']; + if (isPresent(proxy, 'tls') && typeof proxy.tls !== 'boolean') { + delete proxy.tls; + } delete proxy.subName; delete proxy.collectionName; if ( diff --git a/backend/src/core/proxy-utils/producers/stash.js b/backend/src/core/proxy-utils/producers/stash.js index 8e6bcbac0..3f0617a79 100644 --- a/backend/src/core/proxy-utils/producers/stash.js +++ b/backend/src/core/proxy-utils/producers/stash.js @@ -242,6 +242,9 @@ export default function Stash_Producer() { proxy.fingerprint = proxy['tls-fingerprint']; } delete proxy['tls-fingerprint']; + if (isPresent(proxy, 'tls') && typeof proxy.tls !== 'boolean') { + delete proxy.tls; + } if (proxy['test-url']) { proxy['benchmark-url'] = proxy['test-url'];