On 1/20/11 9:45 AM, Lukas Kahwe Smith wrote:
Hi,In the spirit of ESI we have moved a few things into separate controller actions. However if serious errors happen in such subrequests, they cause all sorts of breakage in twig, which prevents the exception from bubbling up. This issue seems to be caused in Twig_Template by where ob_end_clean() causes an error: public function render(array $context) { ob_start(); try { $this->display($context); } catch (Exception $e) { ob_end_clean(); throw $e; } return ob_get_clean(); }
Can you explain the problems you have? The ob_end_clean() just clears the output buffering so that nothing is outputted in case of an error.
Fabien
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
