2
我已经搜索了https://phpids.org网站,多个论坛,stackoverlow(当然:P)等,以找到一种方法,允许从TinyMCE textarea发布HTML字符串集成在我自己的CMS。我试图把它列入HTML []数组中PHPIDS 的Config.ini这样的:PHPIDS配置,以允许HTML
; define which fields contain html and need preparation before
; hitting the PHPIDS rules (new in PHPIDS 0.5)
; html[] = POST.__wysiwyg
html[] = POST.content_text
然而,它没有工作!它仍然检测到发布的字符串为恶意!这将工作,如果我包括这样的例外:
; define which fields shouldn't be monitored...
exceptions[] = GET.__utmz
exceptions[] = GET.__utmc
exceptions[] = POST.content_text
exceptions[] = REQUEST.content_text
但我不希望它作为例外。有没有人遇到过同样的问题?顺便说一下,我正在使用最新的PHPIDS版本0.7。
谢谢!
您是否找到了解决方案?我被困在相同的情况下。 – DannyG