Welcome Guest, Not a member yet? Register   Sign In
Mangled URI's
#1

[eluser]bparker[/eluser]
Hi,

I am having some trouble with URI's. I'm sure someone will have come accross this before, but i can't even think of a simple description for it to help norrow my searching for an answer!!!

I have a controller called 'search' which i can access via www.mydomain.com/search (accessing the 'index' method)

this contains a search form, which when submitted returns from the 'results' method.

Normally this works fine, but every so often, insead of returning from the submit with the url www.mydomain.com/search/results i instead get www.mydomain.com/search/search/results

This gives me just the index method again, which is obviously no good.

Initially i thought it may be a browser bug, but having tried in various browsers, it always seems to happen sooner or later.

The odd thing is i can't seem to identify the offending action which causes it to happen. Sometimes, even without altering any source code, after browsing a few pages, it just suddenly happens.

The second odd point is that it will eventually get back on track. entering the site again sometimes cures the problem, i guess since i then have a clean url in part, but cleaning the url alone won't fix it.

does anyone have any thoughts on what may be causing this? i am completely out of ideas!

P.S. even a way of describing this so i can go off and google it would be a help!!!)


Messages In This Thread
Mangled URI's - by El Forum - 06-09-2009, 03:55 PM
Mangled URI's - by El Forum - 06-09-2009, 04:32 PM
Mangled URI's - by El Forum - 06-10-2009, 02:04 AM
Mangled URI's - by El Forum - 06-10-2009, 07:51 AM
Mangled URI's - by El Forum - 06-10-2009, 09:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB