Go to file
Friedrich Weber c4b689b698 utils: API2Request: ensure that response's 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 backend-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:01:27 +02:00
debian bump version to 4.3.9 2025-04-07 12:38:36 +02:00
src utils: API2Request: ensure that response's htmlStatus is html-encoded 2025-04-08 17:01:27 +02:00
.gitignore gitignore: add more build artefacts to ignore list 2024-04-21 09:56:55 +02:00
Makefile buildsys: improve DSC target & add sbuild convenience target 2023-05-25 10:15:11 +02:00