Fix XSS in alertify logs
This commit is contained in:
parent
5797aab3f2
commit
2c5c6da0d9
@ -1351,11 +1351,11 @@ define([
|
|||||||
};
|
};
|
||||||
|
|
||||||
common.log = function (msg) {
|
common.log = function (msg) {
|
||||||
Alertify.success(msg);
|
Alertify.success(fixHTML(msg));
|
||||||
};
|
};
|
||||||
|
|
||||||
common.warn = function (msg) {
|
common.warn = function (msg) {
|
||||||
Alertify.error(msg);
|
Alertify.error(fixHTML(msg));
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user