From c90f8a05bf792e61db250f210834cdabcc0b7906 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 4 May 2026 16:36:33 +0200 Subject: fix(security): sanitize remote IP headers and escape log viewer output #4135 --- web/html/form/protocol/dokodemo.html | 2 +- web/html/form/protocol/hysteria.html | 2 +- web/html/form/protocol/shadowsocks.html | 2 +- web/html/form/protocol/trojan.html | 2 +- web/html/form/protocol/vless.html | 2 +- web/html/form/protocol/vmess.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'web/html/form/protocol') diff --git a/web/html/form/protocol/dokodemo.html b/web/html/form/protocol/dokodemo.html index 4437a3e3..1dbace29 100644 --- a/web/html/form/protocol/dokodemo.html +++ b/web/html/form/protocol/dokodemo.html @@ -32,6 +32,6 @@ {{end}} \ No newline at end of file diff --git a/web/html/form/protocol/hysteria.html b/web/html/form/protocol/hysteria.html index 557ebb43..5613dfc5 100644 --- a/web/html/form/protocol/hysteria.html +++ b/web/html/form/protocol/hysteria.html @@ -1,7 +1,7 @@ {{define "form/hysteria"}} - {{template "form/client"}} + {{template "form/client" .}} diff --git a/web/html/form/protocol/shadowsocks.html b/web/html/form/protocol/shadowsocks.html index 8112222c..12371399 100644 --- a/web/html/form/protocol/shadowsocks.html +++ b/web/html/form/protocol/shadowsocks.html @@ -2,7 +2,7 @@