简体   繁体   English

提交tinymce内容时出现403禁止错误

[英]403 Forbidden error when submitting tinymce content

I have a form where i have tinymce editor to get content section.我有一个表单,其中有 tinymce 编辑器来获取内容部分。 whenever i submit the form it works when the tinymce has less data in it.每当我提交表单时,它都会在 tinymce 中的数据较少时起作用。 When the data exceeds some amount it starts throwing 403 - forbidden error.当数据超过一定数量时,它开始抛出 403 - 禁止错误。

I increased the memory limit and execution time and nothing works.我增加了内存限制和执行时间,但没有任何效果。

I tried encrypting in JS and decrypting in PHP.我尝试在 JS 中加密并在 PHP 中解密。 In that case it works but i could not able to decrypt in PHP.在这种情况下,它可以工作,但我无法在 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.这将是您的 mod_security 规则的结果。 Depending on how strict they are they help better protect scripts from being hacked through vulnerabilities, generally those exploited via POST's.根据它们的严格程度,它们有助于更好地保护脚本免受漏洞攻击,通常是那些通过 POST 被利用的漏洞。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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