开发者

Turn off Global XSS Filtering for spec. controller?

I'm developing project integrated with FB and I have problem with Deautharization (when user remove App from his Authorized Apps)

Old Question: CodeIgniter => Facebook App Deauthorization

Edit2: I just realized the problem....

|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is enco开发者_StackOverflow社区untered
|
*/
$config['global_xss_filtering'] = TRUE;

CodeIgniter block POST requests that don't have specific token as hidden value...

So question now is : can I turn it off for specific controller ?


You can disable global_xss_filtering selectively using this guide: Codeigniter - Disable XSS filtering on a post basis

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜