Welcome Guest, Not a member yet? Register   Sign In
1 GET var in url goes to 404, 2 GET vars in url page displays fine
#1

[eluser]jamie young[/eluser]
To reproduce, take a fresh install of 1.7.0 and go here

http://localhost/CodeIgniter_1.7.0/index.php/welcome?a

you will get 404, at least I do

then try

http://localhost/CodeIgniter_1.7.0/index...elcome?a&b

You will get the welcome page

If you check $_REQUEST, you will see a and b are there.


What is the expected behavior here? I would think if 2 vars will work in a url, 1 should work, however I thought CI was supposed to disable all url vars in this fashion unless enable_query_strings is set to TRUE.

Is this a bug or just me not understanding a feature correctly. I am new to CI


Messages In This Thread
1 GET var in url goes to 404, 2 GET vars in url page displays fine - by El Forum - 11-06-2008, 08:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB