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
有没有办法确保 AJAX 实际处理启用了安全组件的 POST 请求?
我不想为此创建另一个 AJAX 控制器
谢谢
<?php class AppController extends Controller { public function beforeFilter() { $this->Security->blackHoleCallback = 'blackhole'; } } ?>