On 12/9/10 12:26 PM, Dennis Jacobfeuerborn wrote:
BTW Twig now exits with a fatal error when using a variable that isn't
set. Is this an intended change of behavior? Even when using an
expression like var|defaul('text') the error occurs if "var" isn't set.
This seems counter-intuitive since I would expect this expression to
evaluate to "text" if var isn't set instead of throwing an error.

This is weird as I'm not able to reproduce the problem with Twig. Even if you have strict_variables enabled, that should work as expected. Can you try with Twig directly (outside a Symfony project)?

Fabien

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

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