luci-app-passwall: sync with upstream source

This commit is contained in:
CN_SZTL 2020-03-01 20:47:19 +08:00
parent 32af49a7d3
commit de40faf8ea
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -458,7 +458,8 @@ local function parse_link(raw, remark, md5_str, manual)
result.remarks:find("剩余流量") or
result.remarks:find("QQ群") or
result.remarks:find("官网") or
not result.address
not result.address or
result.address:match("[^0-9a-zA-Z%-%.%s]") -- 中文做地址的 也没有人拿中文域名搞就算中文域也有Puny Code SB 机场
then
log('丢弃无效节点: ' .. result.type ..' 节点, ' .. result.remarks)
else