用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1429|回复: 0
收起左侧

[内核] csrf_exclude_uris 问题

[复制链接]
发表于 2019-3-26 11:04:54 | 显示全部楼层 |阅读模式
$config['csrf_protection'] = true;
$config['csrf_token_name'] = 'csrf_token_test';
$config['csrf_cookie_name'] = 'csrf_cookie_test';
$config['csrf_expire'] = 7200;
$config['csrf_regenerate'] = TRUE;
$config['csrf_exclude_uris'] = array('/assistant_dashboard/upload.html');
我提交表单到/assistant_dashboard/upload.html,还是需要验证,要怎么加入白名单?

本版积分规则