php - Submitting form fails when the form data contains a <script> tag LAMP -


We have a hosted site that has a CMS that we are running on an LMP stack. We have found that when you save the HTML that contains the embedded tag in HTML, the request is immediately requested. This is not the CMS staging or local development examples, so I'm assuming this is a server configuration problem. Any thoughts that might be due to this behavior?

I have looked through PHP.INI and Apache's configurable files but nothing was standing as possible culprit.

UPDATE I have a ticket with a host that runs our VPS, so far they are not helpful. As someone has suggested that I examined the logic of the apache, to see if there was a problem. The only error I see is the "directory directing option is forbidden by the directive" This error form is going out of the free time.

We created CMS using CakePHP and CakePHP logs, no other useful information also appears. The request is not creating at all on PHP because we put a dead () call in the original index.php page and it still comes out.

UPDATE2 Thanks for the suggestions I'm sure it will be resolved, but it felt worth it to be here first.

UPDATE3 MediaTemple was able to replicate this issue and said that it was a top-level filtering rule that was causing this issue, of course, everything I reacts to outside of my field of reactions I appreciate that there are problems due to apache mod_security if you have mod_security on the server.

If enabled, you can try this way (in the .htaccess file):

  & lt ; Ifmodule mod_security.c & gt; Second filter engine of lieutenant; / AMMDOL & gt;