Marium pakistan
Marium pakistan

Reputation: 21

"The URI you submitted has disallowed characters" in CodeIgniter

I am receiving this error "The URI you submitted has disallowed characters." I got this error when I search for email rest of things working perfectly.

I also changed these two things but no luck

$config['enable_query_strings'] = True;

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

Upvotes: 1

Views: 5977

Answers (2)

MK Developer
MK Developer

Reputation: 36

just change to:

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-@\=+()';

Upvotes: 1

ashokan
ashokan

Reputation: 80

Change this

$config['enable_query_strings'] = True;

to

 $config['enable_query_strings'] = FALSE;

hope this will help you. still getting error ..please post your url and how it generated.

Upvotes: 0

Related Questions