From f71771bd20d6baca3b091a6d4e9efde6192de61e Mon Sep 17 00:00:00 2001
From: omissis
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
tag is found. I am assuming it is correct to show the toolbar regardless of the correctness of page's html. --- .../Bundle/WebProfilerBundle/WebDebugToolbarListener.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Bundle/WebProfilerBundle/WebDebugToolbarListener.php b/src/Symfony/Bundle/WebProfilerBundle/WebDebugToolbarListener.php index 46360ebd0a4cd..152ef68afa684 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/WebDebugToolbarListener.php +++ b/src/Symfony/Bundle/WebProfilerBundle/WebDebugToolbarListener.php @@ -91,6 +91,8 @@ protected function injectToolbar(Response $response) if (false !== $pos = $posrFunction($content, '')) { $content = $substrFunction($content, 0, $pos).$toolbar.$substrFunction($content, $pos); + } else { + $content .= $toolbar; } $response->setContent($content);