diff --git a/www/common/realtime-input.js b/www/common/realtime-input.js index 8651d7626..e4ddf16e6 100644 --- a/www/common/realtime-input.js +++ b/www/common/realtime-input.js @@ -224,7 +224,7 @@ define([ } }); - var whoami = new RegExp(userName.replace(/\/\+/g, function (c) { + var whoami = new RegExp(userName.replace(/[\/\+]/g, function (c) { return '\\' +c; }));