I have a program that allows users to create content. They are presented a form that allows certain html elements but blocks and removes any content that would be considered harmful. The process works but in testing I've found that if the word count is over 400 it throws an injection warning in mod_security and will not allow saving to Mysql.
I can save half and then reopen and save the rest but even then it causes some issues. The code does limit input to a certain number but it is over the limit I'm running into here. saving content under this limit works great. But I see nothing in the program code that would be causing this.
My question is ..Is this something I can fix in the code or do I need help on my hosting server to make changes mod_security?
Any suggestions.
Forums:
Sitetags: