Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

escape html from username

isymchychfdc2ecd86fe8
diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js
index 0a6c49c5b9..51fa47d26f 100644
--- a/modules/UI/videolayout/LocalVideo.js
+++ b/modules/UI/videolayout/LocalVideo.js
@@ -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');