I have a field in the form that allows html tags. If you insert the following line in the field and submit the form, it returns the error 403 forbidden:
<span style="display: none"> </span>
But if you insert the line with single quotation marks, the error no longer happens:
<span style='display: none"'> </span>
Does anyone know what's going on?
It is not an error when working with the field in php, because I made a die("teste")
before any $_POST
and even then the error is returned in the first option.
UPDATE:
I changed the form's action to a PHP file that contains only the code below and still returns 403 forbidden. Anyone have any idea what that might be?
<?php echo "teste"; ?>
UPDATE:
According to the technician, the error occurs because an anti-spam server lock is activated.
Regra 300076, antispam content.
Is there a way to get around this in php, or just turning off the rule?