gpt4 book ai didi

facebook - 在 CodeIgniter Login with Facebook 中仍然出现 "The URI you submitted has disallowed characters."错误

转载 作者:行者123 更新时间:2023-11-30 05:27:21 25 4
gpt4 key购买 nike

我搜索了所有帖子,发现他们遇到了同样的错误。大多数评论和反馈已成功修复,但当我修复时,它确实不起作用:/请帮助我:(

我已经更改了 system/application/config/config.php 文件:

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';

$config['permitted_uri_chars'] = 'a-z 0-9~%\.\:_\-';

在此文件夹中 system/libraries/URI.php 文件来自:

if ( ! preg_match("|^[".str_replace(array('\\-', '\-'), '-', preg_quote($this->config->item('permitted_uri_chars'), '-'))."]+$|i", $str))

if ( ! preg_match("|^[".($this->config->item('permitted_uri_chars'))."]+$|i", rawurlencode($str)))

仍然是“您提交的 URI 包含不允许使用的字符。”存在。

最佳答案

这是我的支持 facebook 的应用程序

$config['permitted_uri_chars'] = '+=a-z 0-9?~%.,:_\-';

我见过成功的人也启用了下面的功能,但我的仍然设置为 FALSE

$config['enable_query_strings'] = TRUE;

关于facebook - 在 CodeIgniter Login with Facebook 中仍然出现 "The URI you submitted has disallowed characters."错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13812534/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com