pve-manager/www/mobile
Friedrich Weber 8a1c194740 mobile ui: API2Request: ensure that response.htmlStatus is html-encoded
`response.htmlStatus` is used to display error messages to the user.
Hence, make sure that HTML in the error message is properly encoded.
`API2Request` has two codepaths setting `response.htmlStatus`:

- in the `success` callback, htmlStatus is assigned the result of
  `extractRequestError`, which already encodes server-provided
  strings.

- in the `failure` callback, where this patch adds a missing
  htmlEncode.

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2025-04-08 17:37:54 +02:00
..
app.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
Cookies.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
Datacenter.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
index.html.tpl mobile ui: statically import widget toolkit 2023-05-28 19:19:55 +02:00
Login.js ui: mobile: fix totp login 2024-04-23 16:38:13 +02:00
LXCSummary.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
Makefile makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
MenuButton.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
Migrate.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
NodeSelector.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
NodeSummary.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
pve.css mobile ui: statically import widget toolkit 2023-05-28 19:19:55 +02:00
PVEBar.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
PVEProxy.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
QemuSummary.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
RealmSelector.js mobile ui: eslint fixes 2023-05-28 19:12:27 +02:00
TaskList.js ui: mobile: add some missing htmlEncodes 2025-04-04 15:26:23 +02:00
TaskViewer.js ui: mobile: add some missing htmlEncodes 2025-04-04 15:26:23 +02:00
Toolkit.js fix typos in user visible strings 2024-10-16 18:41:42 +02:00
VMSummaryBase.js ui: mobile: add some missing htmlEncodes 2025-04-04 15:26:23 +02:00
WidgetToolkitUtils.js mobile ui: API2Request: ensure that response.htmlStatus is html-encoded 2025-04-08 17:37:54 +02:00
Workspace.js ui: mobile: enable subscription popup 2024-04-23 16:39:20 +02:00