Codeigniter Redirect — The URI you submitted has disallowed characters

前端 未结 3 616
无人共我
无人共我 2020-12-03 10:47

When i\'m trying to redirect to other website, i receive this error:

A PHP Error was encountered

Severity: Warning

Message: parse_url(/%22**<

3条回答
  •  囚心锁ツ
    2020-12-03 11:45

    Try this may help but is not recommended, in your application/config/config.php change:

    $config['permitted_uri_chars']  = ''; #keep it blank to allow all characters
    $config['allow_get_array']       = TRUE;
    $config['enable_query_strings'] = TRUE;
    

提交回复
热议问题