On 11.01.2011, at 21:14, Johannes wrote: > I guess this is a Twig only problem; maybe some type functions like > is_string(), instancceof(), etc. should be added to Twig. Although > voting short circuits by default, you're right it would indeed be > inefficient, and as mentioned before you couldn't rely on the > existence of the user object even if the token is fully authenticated.
Yeah, there needs to be some way to safely do these sorts of checks in twig. 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
