简体   繁体   中英

403 Forbidden error when submitting tinymce content

I have a form where i have tinymce editor to get content section. whenever i submit the form it works when the tinymce has less data in it. When the data exceeds some amount it starts throwing 403 - forbidden error.

I increased the memory limit and execution time and nothing works.

I tried encrypting in JS and decrypting in PHP. In that case it works but i could not able to decrypt in PHP. Decryption results unreadable characters.

I found the issue. It was a server setting which blocks it. i got to know when i contact my hosting provider who unlocks it.

This would be the result of your mod_security rules. Depending on how strict they are they help better protect scripts from being hacked through vulnerabilities, generally those exploited via POST's.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM