Welcome Guest, Not a member yet? Register   Sign In
The URI you submitted has disallowed characters.
#1

[eluser]Brian Loomis[/eluser]
I'm bumping up against this with CI 1.7.2 deployed under xginx. Under development with Apache we do not have this issue.

I have an application that has to receive post requests from a hardware device in the field. Under Apache in testing this went fine and we are able to receive them ok but in nginx returns the disallowed characters error.

I have been to and tried this fix:
http://davidmichaelthompson.com/2009/09/...deigniter/

Along with many other tweaks found in the forums, the david michael fix creates 404's in nginx

I'm not sure where to even keep looking at this point. I've tried many different combos of
$config['uri_protocol'] etc along with the $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; fixes.

for example in Apache I need:
$config['uri_protocol'] = "PATH_INFO";

but for nginx I need:
$config['uri_protocol'] = "REQUEST_URI";

And that's just to get things with regular MVC urls working.

Any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB