mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-17 22:43:20 +00:00
![]() `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> |
||
---|---|---|
.. | ||
app.js | ||
Cookies.js | ||
Datacenter.js | ||
index.html.tpl | ||
Login.js | ||
LXCSummary.js | ||
Makefile | ||
MenuButton.js | ||
Migrate.js | ||
NodeSelector.js | ||
NodeSummary.js | ||
pve.css | ||
PVEBar.js | ||
PVEProxy.js | ||
QemuSummary.js | ||
RealmSelector.js | ||
TaskList.js | ||
TaskViewer.js | ||
Toolkit.js | ||
VMSummaryBase.js | ||
WidgetToolkitUtils.js | ||
Workspace.js |