vendredi 23 août 2019

How to prevent cross site scripting in Summernote in form in Laravel5.8

I have done the scripting for other input methods using the strip_tags method but it does not apply for summernote Can I prevent Cross Site Scripting using script_tags or any other methods please suggest

I've already tried using the strip_tags method and it did not work

$a['description'] = strip_tags($data['description']); //In the Controller //In the form

I want the code to be saved in database without using the script tags only



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire