O
O
ortsuev332019-11-20 09:17:27
Laravel
ortsuev33, 2019-11-20 09:17:27

How to protect against html and xss attacks in laravel?

How to protect against html and xss attacks in laravel? Or do I need to manually process striptags?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2019-11-20
@ortsuev33

what is html attack?
escaping helps from xss, and, emnip, laravel makes it by default.

K
Konstantin B., 2019-11-20
@Kostik_1993

The next question from the series I see nothing and Google does not give an answer. Laravel has documentation, it has a templating section, tell me, have you noticed the difference in writing variables? If not, I advise you to go read it again!
PS {{ }} {!! !!}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question