escape html from username
This commit is contained in:
parent
67b35f0f1e
commit
fdc2ecd86f
|
@ -130,6 +130,8 @@ LocalVideo.prototype.setDisplayName = function(displayName, key) {
|
|||
};
|
||||
|
||||
LocalVideo.prototype.inputDisplayNameHandler = function (name) {
|
||||
name = UIUtil.escapeHtml(name);
|
||||
|
||||
NicknameHandler.setNickname(name);
|
||||
|
||||
var localDisplayName = $('#localDisplayName');
|
||||
|
|
Loading…
Reference in New Issue