That makes sense.

I was confused when i read this comment 
above Symfony\Component\HttpFoundation\Request's "get" method:

// Avoid using this method in controllers:
//  * slow
//  * prefer to get from a "named" source
// This method is mainly useful for libraries that want to provide some 
flexibility

public function get($key, $default = null)
{
  ...
}

But the trick is not to use:

$this->get('request')->get('id');

instead use:

$this->get('request')->*request->*get('id');


Thank you very much,
Michael

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to