luci-app-ssr-plus: check standard arg first
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
027f8f68fc
commit
c802f96337
@ -209,10 +209,10 @@ local function processData(szType, content)
|
|||||||
end
|
end
|
||||||
if info.tls == "tls" or info.tls == "1" then
|
if info.tls == "tls" or info.tls == "1" then
|
||||||
result.tls = "1"
|
result.tls = "1"
|
||||||
if info.sni then
|
if info.host then
|
||||||
result.tls_host = info.sni
|
|
||||||
elseif info.host then
|
|
||||||
result.tls_host = info.host
|
result.tls_host = info.host
|
||||||
|
elseif info.sni then
|
||||||
|
result.tls_host = info.sni
|
||||||
end
|
end
|
||||||
result.insecure = 1
|
result.insecure = 1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user