mirror of
https://github.com/xiaorouji/openwrt-passwall2.git
synced 2025-05-02 12:49:15 +08:00
luci: fix hysteria link parsing
This commit is contained in:
parent
874af65516
commit
b5150ab13d
@ -816,7 +816,7 @@ local function processData(szType, content, add_mode, add_from)
|
||||
end
|
||||
result.remarks = UrlDecode(alias)
|
||||
|
||||
local dat = split(content, '%?')
|
||||
local dat = split(content:gsub("/%?", "?"), '%?')
|
||||
local host_port = dat[1]
|
||||
local params = {}
|
||||
for _, v in pairs(split(dat[2], '&')) do
|
||||
|
Loading…
Reference in New Issue
Block a user