Prevent XSS issue

This commit is contained in:
Antoine Nguyen
2023-12-14 14:52:58 +01:00
parent d1f1adbd33
commit 5cf3731f94
+1 -1
View File
@@ -346,7 +346,7 @@ function defaultAjaxErrorHandler(event, jqxhr, settings) {
} catch (x) {
data = gettext("Internal error");
}
$('body').notify('error', data);
$('body').notify('error', htmlEncode(data));
}
/**