Codeigniter: All Arabic routes are not working

前端 未结 1 878
感动是毒
感动是毒 2021-01-15 05:17

[Update]

Added to the config but still not working

$config[\'permitted_uri_chars\'] .= \'%D8%A2%D8%A7%D8%A8%D9%BE%D8%AA%D8%AB%D8%AC%DA%86%D8%AD%D8%AE         


        
1条回答
  •  囚心锁ツ
    2021-01-15 05:42

    After all that clarification, it came down to how your server was handling character encoding.

    Here's a link from another Stack Overflow question that is similar. It has many answers that deal with it in different ways. Here's one that does a rewrite rule for the htaccess file.

    RewriteRule ^([\s\S]*)$ index.php?rt=$1 [L,B,QSA]
    

    0 讨论(0)
提交回复
热议问题