开发者

Not able to use Norwegian characters in url with Codeigniter 1.7

A part of link it has æ.

http://localhost/myproject/index.php/welcome/pages/52/Velvære/161

When I click the link it shows the following error开发者_Go百科.

The URI you submitted has disallowed characters.

I have changed config file as follows but it still shows the same error.

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\- æ ø å Æ Ø Å';

Could anyone tell me how to fix the problem?

Thanks in advance.


That character is not an ASCII character, therefore it is not URL-safe. You should URL encode that segment, and then URL decode it on the server-side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜