mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +00:00
Bug fixes
Fix broken parsing support for Clash Shadowsocks configuration. Fix support for multipart Surge custom rule. Optimize codes. INIReader: Remove MAX_LINE_LENGTH limit.
This commit is contained in:
5 files changed
+20
-7
No files matched your search
@@ -880,6 +880,13 @@ void explodeClash(Node yamlnode, std::string custom_port, int local_port, std::v
|
||||
yamlnode["Proxy"][i]["plugin-opts"]["host"] >> pluginopts_host;
|
||||
}
|
||||
}
|
||||
else if(yamlnode["Proxy"][i]["obfs"].IsDefined())
|
||||
{
|
||||
plugin = "simple-obfs";
|
||||
yamlnode["Proxy"][i]["obfs"] >> pluginopts_mode;
|
||||
if(yamlnode["Proxy"][i]["plugin-opts"]["obfs-host"].IsDefined())
|
||||
yamlnode["Proxy"][i]["obfs-host"] >> pluginopts_host;
|
||||
}
|
||||
else
|
||||
plugin = "";
|
||||
|
||||
|
||||
Reference in new issue
Block a user