Hi all,

I just wanted to clarify how requestAction treats url parameters.

In a url like:         /con/action/1.xml?abc=123&def=456

if "abc" or "def" is already present in the $_GET environment
variable, the params['url'] inside the requested controller does not
reflect the new values of "abc" & "def"

so,
     if $_GET      :=     Array('url' => '/foo?abc=789', 'abc' =>
'789')

and I do a,
  requestAction(   "/bar?abc='123'"   )         inside
FooController::index()

I still get the old value   'abc' => "789"    inside
BarController::params['url']


I find that Dispatcher::getParams() is using $_GET directly.


Is this the intended behavior?
Although I can set the "extra" parameters to override "url", I would
prefer not to do it by hand.


Thanks.

--
Nanda Gopal

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to