luci-app-openvpn: fix potential XSS in pageswitch template
authorJo-Philipp Wich <[email protected]>
Fri, 13 Jan 2023 20:16:58 +0000 (21:16 +0100)
committerJo-Philipp Wich <[email protected]>
Fri, 13 Jan 2023 20:18:33 +0000 (21:18 +0100)
commit4015bcbd8deecea4c335ca61800620832496b700
tree59d5a2a5cf47f1cce1bc485a7544618141ea1b50
parent588381e2111079265cc3b20af33507052f1b58cb
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 <[email protected]>
(cherry picked from commit 25983b9fa572a640a7ecd077378df2790266cd61)
applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm