crmepham / socket.chat

Secure and private chat service using Websockets.
GNU General Public License v2.0
6 stars 2 forks source link

Prevent user name being spoofed using white space. #24

Closed crmepham closed 9 years ago

crmepham commented 9 years ago

If a username ends with a space it's impossible to /tell something to him/her. Likewise, it's very easy to spoof an username because "Name" and "Name " are displayed the same way in both the sidebar and the room.