On 28.04.2011, at 16:50, Victor Berchet wrote:

> Right, I have looked too fast...
> 
> What about:
> 
> if (!is_string || !instance_of TRI) {
>    throw new \InvalidArgumentException();
> }


yeah i guess that will prevent these types of errors .. can you send a PR?

regards,
Lukas Kahwe Smith
[email protected]



-- 
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

Reply via email to