mirror of
https://github.com/2dust/v2rayN.git
synced 2025-11-29 03:02:53 +00:00
stricter plugin name fix for SIP002 URI
This commit is contained in:
parent
ffd4249d43
commit
963db90f4c
1 changed files with 11 additions and 4 deletions
|
|
@ -185,6 +185,13 @@ public class ShadowsocksFmt : BaseFmt
|
|||
|
||||
var pluginName = pluginParts[0];
|
||||
|
||||
// A typo in https://github.com/shadowsocks/shadowsocks-org/blob/6b1c064db4129de99c516294960e731934841c94/docs/doc/sip002.md?plain=1#L15
|
||||
// "simple-obfs" should be "obfs-local"
|
||||
if (pluginName == "simple-obfs")
|
||||
{
|
||||
pluginName = "obfs-local";
|
||||
}
|
||||
|
||||
// Parse obfs-local plugin
|
||||
if (pluginName == "obfs-local")
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue