15 points · by serkanyersen · 14y ago · 26 comments
But if you run it on your server or Cloud9 ide it will work just fine.
Also, with so many users chatting the screen scrolls too fast so I would reduce the vertical spacing a bit.
Other than that, kudos for a simple well-functioning chat.
> Thanks. Those two security issues are fixed now.
You fixed one way of nickname duplication, but so long as you allow arbitrary utf-8 strings, there are all sorts of non-printing characters to use. You should really get a list of everything to filter. I don't have any experience with node.js, so I don't know if anyone has written a library that does it.
I liked the output and wanted to know what people would think about it.
BTW, I didn't copy anything, I watched the video and saw ryan doing TCP chat example and I thought I can do it for web and that would be great to learn node.js and socket.io