M
M
Mikhailo Poberezhny2016-01-27 05:04:21
Node.js
Mikhailo Poberezhny, 2016-01-27 05:04:21

How to prevent script from being sent via Socket.io?

When I write a script, for example, and send it in a chat, then this alert pops up for all users)) how to prohibit sending it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Duha666, 2016-01-27
@as_for_me

Escape the data received from the client. Anytime and anywhere you display them, not just in chat.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question