mirror of https://github.com/calzoneman/sync.git
Fix possible XSS issue with chat filters
This commit is contained in:
parent
79f7e96921
commit
89939682ce
|
@ -3040,7 +3040,8 @@ Channel.prototype.filterMessage = function (msg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Recombine the message
|
// Recombine the message
|
||||||
return parts.join("");
|
msg = parts.join("");
|
||||||
|
return XSS.sanitizeHTML(msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue