I have a url:
"http://example.com/some-var-[2009]-to-[2014]"
When I hit the same I get:
How do I fix the same ? I want to allow square brackets [2009] & [2014] in my url.
I have a url:
"http://example.com/some-var-[2009]-to-[2014]"
When I hit the same I get:
How do I fix the same ? I want to allow square brackets [2009] & [2014] in my url.
Put this code in your config file in where permitted declared..
]a-z 0-9~%.:[_\-,;&()@!
You can put your square bracket or other special characters after / those you want in URL like /[ or /] /@ Set in codeigniter_project/application/config/config.php configure this variable:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_/-@/=/[/]';