if non-TLS, show warning in the login form

This commit is contained in:
ed
2023-02-17 22:49:03 +00:00
parent 49e8df25ac
commit 96d6bcf26e
4 changed files with 22 additions and 8 deletions

View File

@@ -2877,6 +2877,7 @@ class HttpCli(object):
url_suf=suf,
k304=self.k304(),
ver=S_VERSION if self.args.ver else "",
ahttps="" if self.is_https else "https://" + self.host + self.req,
)
self.reply(html.encode("utf-8"))
return True