Hello,
I have a small problem with set method of Symfony\Component
\HttpFoundation\ParameterBag class.
In fact, I try to override some of request values (some POST data
passed to my forms). I found a function which sets/replaces request
values.
Class : Symfony\Component\HttpFoundation\ParameterBag
public function set($key, $value)
{
$this->parameters[$key] = $value;
}
However, this method doesn't handle arrays.
My array looks like :
Array ( [Register] => Array ( [login] => dede [pass1] => sdqs [pass2]
=> dqsd [email] => dsqd ) )
When I try to replace, for this example, the value of login key, I
can't do it because set() method handles only one deep array.
Did anyone achieve that ? Maybe ParameterBag is not a good place for
that ? Or maybe it's a little bug of Symfony2 ?
--
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 developers" 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/symfony-devs?hl=en