Welcome Guest, Not a member yet? Register   Sign In
Problem with query strings - ? being added to the url before controller and method
#1

[eluser]Unknown[/eluser]
Hi,

I have enabled query strings in my application and I still want to use the standard controller/method url so I have changed my config options to this:

$config['uri_protocol'] = 'PATH_INFO';
$config['allow_get_array'] = TRUE;

This seems to be working fine and I am able to access any get variables as I wish.

However my problem comes when I am using a twitter library to connect my app to twitter oauth. When I am redirected back to my application from twitter for some reason codeigniter appends the ? for the query string before my controller and method so I am left with a url like this:

http://mydomain.com/myapp?/controller/me...iyuiv=oioi

This is obviously not correct and I am being taken to the 404 page instead of where I am meant to be.

Does anyone know what is causing this?

Thanks for looking
#2

[eluser]Mr. Pickle[/eluser]
See http://ellislab.com/forums/viewthread/179669/#850955




Theme © iAndrew 2016 - Forum software by © MyBB