Welcome Guest, Not a member yet? Register   Sign In
Once again permitted uri chars. Take a look please
#4

[eluser]Unknown[/eluser]
howdy,
try escaping the - with a backslash in your config file. character set should then be
Code:
$config['permitted_uri_chars'] = 'a-zA-Z 0-9~%.:_\-';
this then makes the character a true character for the preg_match() in system/libraries/URI.php method _filter_uri().

this char is not special regular expression char and isn't escaped by the preg_quote() in the method, but indicates a charater range because in between [ and ] ( a character class).

hope this helps.


Messages In This Thread
Once again permitted uri chars. Take a look please - by El Forum - 02-28-2008, 07:18 AM
Once again permitted uri chars. Take a look please - by El Forum - 02-28-2008, 07:37 AM
Once again permitted uri chars. Take a look please - by El Forum - 02-28-2008, 07:44 AM
Once again permitted uri chars. Take a look please - by El Forum - 02-28-2008, 08:30 AM
Once again permitted uri chars. Take a look please - by El Forum - 02-28-2008, 08:37 AM
Once again permitted uri chars. Take a look please - by El Forum - 02-28-2008, 09:05 AM
Once again permitted uri chars. Take a look please - by El Forum - 02-29-2008, 01:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB