Hi,
I got a form with several fields and a TextArea.
When I send a form with html content in the TextArea, for perform an action (update or create), the system shows an Forbidden 403 page.
Of course, i got all the access rules well configurated, I have verified this first.
If I send plain text from the same textarea, the action is succesfull.
I have done several test with and without ajax validation. With and without "multipart form data" property in the form.
Even I has cleared all the code in the create or update action.
There are only two test that have worked well:
-
Delete the TextArea
-
Send Plain Text.
I think this could be an Json issue or an mod_security restriction in the server side.
Can someone help me?
Thanks.
UPDATE INFORMATION
This is the POST DATA that the form is sending.
POST DATA
-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[titular ]"\r\n\r\nThis tex area works\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[subtitular]"\r\n\r\nThis works too\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[fecha]"\r\n\r\n2012-10-01\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[imagen]"\r\n\r\n\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[imagen]"; filename=""\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[imagen_hidden]"\r\n\r\nn1349178333.jpg\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[pie]"\r\n\r\nWorks!\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="Noticias[cuerpo]"\r\n\r\n<p>This textarea fails</p>\r\n-----------------------------128321039315762\r\n
Content-Disposition: form-data; name="yt0"\r\n\r\nActualizar\r\n-----------------------------128321039315762–\r\n
I noticed that the data, are not received in the action of the controller, I think that the post data is corrupted in the sending process.
Could be related to some element of the assets folder? Sometimes i have got problems with these folders (chmod, chown, etc)