mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-22 06:28:41 +02:00
Prevent XSS issue
This commit is contained in:
@@ -346,7 +346,7 @@ function defaultAjaxErrorHandler(event, jqxhr, settings) {
|
||||
} catch (x) {
|
||||
data = gettext("Internal error");
|
||||
}
|
||||
$('body').notify('error', data);
|
||||
$('body').notify('error', htmlEncode(data));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user