WorldChat.io: Chat with realtime translation
11–20 of 31 posts
Re: WorldChat.io: Chat with realtime translation
#12I choose the "German" flag. Does it mean that I should type in German or others ' messages are translated to German? It's not at all clear from the wording: "Choose your username and language to start chatting with the world"... What if I want to type in English but read others' messages in German?
Both? It probably means that you write in German and other messages are translated to your language (German). That's the only thing that would make sense.
Re: WorldChat.io: Chat with realtime translation
#13also, rate limit the users, this is thing is managing to crash chrome!
Re: WorldChat.io: Chat with realtime translation
#14I choose the "German" flag. Does it mean that I should type in German or others ' messages are translated to German? It's not at all clear from the wording: "Choose your username and language to start chatting with the world"... What if I want to type in English but read others' messages in German?
Re: WorldChat.io: Chat with realtime translation
#15Earlier quoted context omitted.
JavaScript in the body of the message box executes 0.o very cool none-the-less.
Only for you, it gets filtered before going over the wire. Have fun :)
You trust your server-side sanitization that much?
Re: WorldChat.io: Chat with realtime translation
#16{{{message}}} in handlebars means that if someone one gets around your server-side sanitization your client side is wide open to XSS ... also, rate limit the users, this is thing is managing to crash chrome!
Re: WorldChat.io: Chat with realtime translation
#17good job shutting that fellow down. Very cool little app.
edit:
well...maybe some kind of rate limit might help.
Re: WorldChat.io: Chat with realtime translation
#18{{{message}}} in handlebars means that if someone one gets around your server-side sanitization your client side is wide open to XSS ... also, rate limit the users, this is thing is managing to crash chrome!
Working on it, any tips to keep entity encoding in handlebars without the triple stash?
Re: WorldChat.io: Chat with realtime translation
#19Earlier quoted context omitted.
Only for you, it gets filtered before going over the wire. Have fun :)
Should still be sanitizing user input, there's no reason to be passing the message as an html variable in handlebars {{{message}}} :/ You trust your server-side sanitization that much?