Reputation: 1
i have make an page controller and i can generate the pages with tinymce
the problem is when the page name is arabic like this
Example:http://domain/solarBlog/blog/category/السلمي
showing error
The URI you submitted has disallowed characters
is there any way to make the uri allowing the arabic characters ?
also im using the default
$config[‘permitted_uri_chars’] = ‘a-z 0-9~%.:_\-’;
Please note that I used version 2.1.0
Upvotes: 0
Views: 706
Reputation: 10631
Codeigniter does not allows submitting some characters to be passed. But in case of Non latin languages, the data will be encoded and passed which will generate some non permitted characters in the encoded string. So the solution is just remove some characters like % in the $config['permitted_uri_chars'] which will be used mostly while encoding the URL. But it is not recommended as per the codeigniter documentation. For more information click here.
Upvotes: 1