如何使用不包含过滤器表单的页面中的过滤器操作(例如通过提交或 GET 请求)?
当我在以下 URL 中传递参数时
<module_name>/filter/action?module_filters[_csrf_token]=62a17afab45d56382974f9a495abee7c&module_filters[id]=3998
我在过滤器表单中收到错误:
csrf token: CSRF attack detected.
或者
<module_name>/filter/action?module_filters[id]=3998
csrf token Required
当我执行
$filters -> disableCSRFProtection()
在我的模板中,没有任何反应。