ss obfs错误

This commit is contained in:
Shawn
2020-05-13 18:42:46 +08:00
parent 20fede7fdd
commit ec49b3c041

View File

@@ -1,5 +1,5 @@
/**
# Quantumult X 资源解析器 (2020-05-13: 17:59 )
# Quantumult X 资源解析器 (2020-05-13: 18:59 )
本资源解析器作者: Shawn(请勿私聊问怎么用)有bug请反馈: @Shawn_KOP_bot
更新请关注tg频道: https://t.me/QuanX_API
@@ -475,7 +475,7 @@ function SS2QX(subs,Pudp,Ptfo){
pwd="password="+pwdmtd[1];
mtd="method="+pwdmtd[0];
obfs= cnt.split("obfs%3D")[1]!=null ? ", obfs="+cnt.split("obfs%3D")[1].split("%3B")[0]+", ": "";
obfshost=cnt.split("obfs-host%3D")[1]!=null ? "obfs-host="+cnt.split("obfs-host%3D")[1].split("&")[0]: "";
obfshost=cnt.split("obfs-host%3D")[1]!=null ? "obfs-host="+cnt.split("obfs-host%3D")[1].split("&")[0].split("#")[0]: "";
tag="tag="+decodeURIComponent(cnt.split("#")[1])
pudp= Pudp==1? "udp-relay=true":"udp-relay=false";
ptfo= Ptfo==1? "fast-open=true":"fast-open=false";