2
https://phpids.orgウェブサイト、複数のフォーラム、stackoverlow(もちろん:P)などを調べて、私の自家製CMSに統合されたTinyMCEテキストエリアからのHTML文字列の投稿を許可する方法を見つけました。htmlを許可するPHPIDS設定
; 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
しかし、それは動作しませんでした:私はこのようなCONFIG.INIPHPIDSでHTML []配列に含めるしてみました!投稿された文字列を悪意のあるものとして検出します。
; 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