Explorar el Código

escape html from username

efficient_tiling
isymchych hace 10 años
padre
commit
fdc2ecd86f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      modules/UI/videolayout/LocalVideo.js

+ 2
- 0
modules/UI/videolayout/LocalVideo.js Ver fichero

@@ -130,6 +130,8 @@ LocalVideo.prototype.setDisplayName = function(displayName, key) {
130 130
 };
131 131
 
132 132
 LocalVideo.prototype.inputDisplayNameHandler = function (name) {
133
+    name = UIUtil.escapeHtml(name);
134
+
133 135
     NicknameHandler.setNickname(name);
134 136
 
135 137
     var localDisplayName = $('#localDisplayName');

Loading…
Cancelar
Guardar