I
I
Isaac Clark2015-02-11 14:12:39
JavaScript
Isaac Clark, 2015-02-11 14:12:39

How to get rid of XSS that is being executed in a text field?

Hello, tell me please.
There is an ordinary text field:
<input type="text">
The problem is that if you enter javascript there, it will be executed. What are the fix options for this?
Thanks for your help and your time.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Vsk, 2015-02-11
@viktorvsk

your welcome

S
Sergey, 2015-02-11
@gangstarcj

You entered, then what? You need to process the correctly received string. Do you have PHP code processing the received string?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question