Welcome Guest, Not a member yet? Register   Sign In
Parameters (?param=value) confusing CI
#1

[eluser]Zarkow[/eluser]
Have a vanilla installation of CI and noticed something interesting.

In another topic I raised a concern that ingoing links, for whatever reason (AdSense, other forums adding tracking or whatever), could be containing parameters and this screwed up CI to the point that it returned 404 page not found. Normally redundant parameters aren't a problem, but CI chokes on them.

Anyway, just noticed something interesting now:
http://example.com/products/tshirts/453.html?about will make CI present the about-page instead of, in this example, a product page.
It acts like the first part of he URI isn't passed at all, the parameter takes precedence. This explains why any oddly added parameter appended by other sites will return 404-pages for their visitors.

So...is this an intended behavior?
Can it be altered? (Perhaps just inactived so parameters are never parsed just ignored? Is ok for this site....)


Messages In This Thread
Parameters (?param=value) confusing CI - by El Forum - 07-25-2008, 11:20 PM
Parameters (?param=value) confusing CI - by El Forum - 07-26-2008, 01:46 AM
Parameters (?param=value) confusing CI - by El Forum - 07-27-2008, 02:00 AM
Parameters (?param=value) confusing CI - by El Forum - 07-27-2008, 08:58 AM
Parameters (?param=value) confusing CI - by El Forum - 07-27-2008, 10:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB