Welcome Guest, Not a member yet? Register   Sign In
Url params in routes
#1

[eluser]louis w[/eluser]
I have the following route set up:
Code:
$route['XML/foo(.*)']      = "foo$1?format=xml";

The route works, but errors. It seems like the re-routed uri becomes

/foo/bar?format=xml/

Notice the trailing slash. Is there a way to have url params work in routes?

Thanks.


Messages In This Thread
Url params in routes - by El Forum - 07-14-2008, 08:48 AM
Url params in routes - by El Forum - 07-14-2008, 09:19 AM
Url params in routes - by El Forum - 07-14-2008, 09:22 AM
Url params in routes - by El Forum - 07-14-2008, 09:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB