[eluser]hugle[/eluser]
Hello everyone,
the default value of permitted_uri_chars is:
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
but since I needed to add Russian language support, I decided to change it to:
Code:
$config['permitted_uri_chars'] = 'a-z а-я 0-9~%.:_\-';
then I noticed, that sometimes I still get errors like 'The URI you submitted has disallowed characters.'
so I thought maybe I need to add UPPER case support, so changed it to:
Code:
$config['permitted_uri_chars'] = 'a-z а-я А-Я 0-9~%.:_\-';
again, the same, sometimes I was getting the errors : 'The URI you submitted has disallowed characters.'
Later, I didn't know that to do, co decided to go threw all alphabet, you can see it here:
Code:
А а Б б В в Г г Д д Е е Ё ё Ж ж З з И и Й й К к Л л М м Н н О о П п Р р С с Т т У у Ф ф Х х Ц ц Ч ч Ш ш Щ щ Ъ ъ Ы ы Ь ь Э э Ю ю Я я
And I decided to check letter/by latter, if error appears, and yes, there were many 'The URI you submitted has disallowed characters.' errors.... but after checking al the letters, I came to final sollution:
Code:
$config['permitted_uri_chars'] = 'a-z ртхцчшщъыэюьЁуф а-я А-Я 0-9~%.:_\-';
where could be a problem? Is it the problem with CI, PHP? or whatever else...?
thank you very much, CI version is 1.7.1
cheers,
Jaroslav