From 7f7aaf71c77246daa7cdf3cf9abd59c140e7d358 Mon Sep 17 00:00:00 2001 From: Nova Date: Sun, 23 Nov 2025 13:29:13 +0330 Subject: [PATCH] fix shadowsocks plugin import --- src/configs/outbounds/shadowsocks.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/configs/outbounds/shadowsocks.cpp b/src/configs/outbounds/shadowsocks.cpp index 922f816..3ceb974 100644 --- a/src/configs/outbounds/shadowsocks.cpp +++ b/src/configs/outbounds/shadowsocks.cpp @@ -36,6 +36,8 @@ namespace Configs { } plugin = query.queryItemValue("plugin").replace("simple-obfs;", "obfs-local;"); + plugin_opts = SubStrAfter(plugin, ";"); + plugin = SubStrBefore(plugin, ";"); if (query.hasQueryItem("plugin-opts")) plugin_opts = query.queryItemValue("plugin-opts"); if (query.hasQueryItem("uot")) uot = query.queryItemValue("uot") == "true" || query.queryItemValue("uot").toInt() > 0; multiplex->ParseFromLink(link);