【问题标题】:The URI you submitted has disallowed characters.Please help me您提交的 URI 包含不允许的字符。请帮助我
【发布时间】:2018-11-11 19:13:38
【问题描述】:

这是我的网址:

http://localhost/BlueSky.Com/home/post_page/id=1&category=Web%20Designing

这是错误:

您提交的 URI 包含不允许使用的字符。

【问题讨论】:

  • 你在使用 codeigiter 吗?
  • 在您的 /application/config/config.php 文件中查找 $config['permitted_uri_chars']。您可能需要更新它。
  • 我正在使用 codeigniter。
  • 我用这个。但不工作。 $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-@\=';
  • 以表格形式发布不在此 $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-@\='– 中的 chas如果是 - 然后在单引号之前而不是之后添加它

标签: php codeigniter


【解决方案1】:

您必须像这样在文件config.php 中编辑您的$config['permitted_uri_chars']

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

【讨论】:

    猜你喜欢
    • 2015-06-29
    • 1970-01-01
    • 2015-07-10
    • 2023-03-20
    • 2019-11-17
    • 2021-03-14
    • 1970-01-01
    • 1970-01-01
    • 2016-05-02
    相关资源
    最近更新 更多