mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 13:05:10 +00:00
minor bug fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2022-04-21 18:30⟧
|
||||
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2022-04-22 15:30⟧
|
||||
----------------------------------------------------------
|
||||
🛠 发现 𝐁𝐔𝐆 请反馈: @ShawnKOP_bot
|
||||
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
|
||||
@@ -1094,8 +1094,8 @@ function rule_list_handle(cnt) {
|
||||
} else if (cnt.split("/").length == 2) {//ip-cidr
|
||||
cnt = "ip-cidr, " + cnt
|
||||
cnt = Ppolicy == "Shawn" ? cnt+", Shawn" : cnt+", "+Ppolicy
|
||||
} else if (cnt.indexOf("payload:")==-1) { //host - suffix
|
||||
cnt = "host-suffix, " + cnt
|
||||
} else if (cnt.indexOf("payload:")==-1) { //host - suffix, clash rule list
|
||||
cnt = "host-suffix, " + cnt.replace(/'|"|\+\./g,"")
|
||||
cnt = Ppolicy == "Shawn" ? cnt+", Shawn" : cnt+", "+Ppolicy
|
||||
}
|
||||
return cnt
|
||||
|
||||
Reference in New Issue
Block a user