From 685f20091dbe95dc86887e3c71b3c33e4a885038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Baptiste=20=22Talus=22=20Clavi=C3=A9?= Date: Mon, 8 Jul 2013 12:17:20 +0200 Subject: [PATCH] Fix the headers sent when using the web profiler's exception panel --- .../Bundle/WebProfilerBundle/Controller/ExceptionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php index 97021c8a46005..0b9e218ee408b 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php @@ -96,7 +96,7 @@ public function cssAction($token) return new Response($handler->getStylesheet($exception)); } - return new Response($this->twig->render('@WebProfiler/Collector/exception.css.twig'), 200, 'text/css'); + return new Response($this->twig->render('@WebProfiler/Collector/exception.css.twig'), 200, array('Content-Type' => 'text/css')); } protected function getTemplate()