我有这种类型的网址:
/12,434/
routes.php包含:
$route['default_controller'] = "home";
$route['404_override'] = '';
$route['([0-9\,]+)']="route/index/$1";
Url / 12,434 /打开404页面。如何解决?
答案 0 :(得分:0)
答案 1 :(得分:0)
您应该允许来自comma
文件的网址中的application/config/config.php
:
$config['permitted_uri_chars'] = 'a-z 0-9~%.,:_\-';
^ added here