Search found 2 matches

by johnlowim
Mon Jun 25, 2018 1:55 pm
Forum: Atomicorp Free Modsecurity Rules
Topic: How to prevent javascript in textarea
Replies: 1
Views: 12650

Re: How to prevent javascript in textarea

Oh... I think I found the answer, but please let me know if I've done it wrongly.

I added ARGS_POST|ARGS_GET in SecRule of the file 50_plesk_basic_asl_rules.conf and it works.

Previously it only works for INPUT TEXT. Now it works for TEXTAREA too.

Much thanks
John Low
by johnlowim
Mon Jun 25, 2018 6:32 am
Forum: Atomicorp Free Modsecurity Rules
Topic: How to prevent javascript in textarea
Replies: 1
Views: 12650

How to prevent javascript in textarea

Hi,

I'm currently trying out Atomic Basic ModSecurity in Plesk.

It does detect and prevent javascript in input text field, but not in textarea.

Greatly appreciate if you can help this novice :D

Much thanks & regards
John