Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
セキュリティ コンポーネントを有効にすると、問題が発生するようです。AJAX が有効になっているコントローラで動作させることができません。
以下のエラーが表示されます:
The Request has Been Blackholed
セキュリティ コンポーネントが有効になっている POST 要求で AJAX が実際に動作していることを確認する方法はありますか?
このためだけに別の AJAX コントローラーを作成したくありません
ありがとう
<?php class AppController extends Controller { public function beforeFilter() { $this->Security->blackHoleCallback = 'blackhole'; } } ?>