Welcome Guest, Not a member yet? Register   Sign In
Disallowed characters
#1

[eluser]Chris Williams[/eluser]
I'm using FeedBurner for RSS. It puts a bunch of query stings at the end of my URL. On my live site I get this error:

Quote:An Error Was Encountered
The URI you submitted has disallowed characters.

However, on my dev server, It works just fine. I'm trying to figure the difference and I'm stumped.

Both my config files are the same.

Code:
$config['permitted_uri_chars']    = 'a-z 0-9~%.:_\-';

$config['allow_get_array']        = TRUE;
$config['enable_query_strings']   = FALSE;
$config['controller_trigger']     = 'c';
$config['function_trigger']       = 'm';
$config['directory_trigger']      = 'd'; // experimental not currently in use

Has anyone here experience something similar? What's your workaround?

Thanks!
#2

[eluser]Chris Williams[/eluser]
To add more detail, I've noticed that when I enable Query Strings, I get routed incorrectly.

Which further searching points me to a forum post about a potential similar problem here.

Instead of being routed here:
Code:
$route['(:any)/function/(:any)']   = "controller/function/$1/$2";

It's going here.
Code:
$route['(:any)/function']          = "controller/function/$1";
#3

[eluser]Chris Williams[/eluser]
Solved.

Changed config from this
Code:
$config['uri_protocol']    = 'AUTO';
to this
Code:
$config['uri_protocol']    = 'REQUEST_URI';




Theme © iAndrew 2016 - Forum software by © MyBB