luci-mod-system: fix potential stored XSS
authorJo-Philipp Wich <jo@mein.io>
Fri, 13 Jan 2023 19:52:17 +0000 (20:52 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 13 Jan 2023 20:18:33 +0000 (21:18 +0100)
commit588381e2111079265cc3b20af33507052f1b58cb
treeda456c90d7e8ce68f94214bf334608b87f9db538
parent396f4048bd1f4cae7cb6f085d360081d81ad2d9a
luci-mod-system: fix potential stored XSS

Make sure to escape the key contents in the delete confirmation dialog.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0186d7eae0e123a409e9919a83fdfecc7945c984)
modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js