luci-app-openvpn: fix potential XSS in pageswitch template
authorJo-Philipp Wich <jo@mein.io>
Fri, 13 Jan 2023 20:16:58 +0000 (21:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 13 Jan 2023 20:18:49 +0000 (21:18 +0100)
commit749268a2cad4a08722e30f66a578e254885f450f
treed11405ce98f53cbaf12e9425159d4d1b5ac8eb51
parentaa7938d4cb3a3f889dead894ea19334ad07ade51
luci-app-openvpn: fix potential XSS in pageswitch template

Ensure to escape URL instance parameter displayed in the heading.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 25983b9fa572a640a7ecd077378df2790266cd61)
applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm