Go to file
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
aplinfo update shipped appliance info index 2025-02-28 15:55:30 +01:00
bin makefile: fix waring typo 2024-07-22 18:28:18 +02:00
configs vzdump config: add fleecing property string 2024-06-12 12:50:47 +02:00
debian bump version to 8.3.6 2025-04-08 00:46:40 +02:00
network-hooks makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
PVE api: add resource map api endpoints for directories 2025-04-08 00:46:40 +02:00
services makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
templates notifications: test: style fixup 2025-04-04 20:25:46 +02:00
test backup: implement backup for external providers 2025-04-06 21:45:13 +02:00
www mobile ui: API2Request: ensure that response.htmlStatus is html-encoded 2025-04-08 17:37:54 +02:00
.gitignore gitignore: ignore any test artifacts 2024-06-03 14:16:35 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile d/control: change binary package architecture from any to all 2024-11-11 23:34:32 +01:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl close #3476: vzdump: add job-init hook 2022-01-18 12:20:26 +01:00