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:09 +0000 (21:18 +0100)
commit0186d7eae0e123a409e9919a83fdfecc7945c984
tree89427e947d41ecbec5aa6bf91b3bd87d1c353a89
parent9634086efc6d58224899037c92c896ab27373d8a
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>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/sshkeys.js