8000 Merge branch '2.3' · ostrolucky/symfony@67ef8d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 67ef8d4

Browse files
committed
Merge branch '2.3'
* 2.3: Update JsonResponse.php [HttpKernel] fixed the inline renderer when passing objects as attributes (closes symfony#7124) CookieJar remove unneeded var, Client remove unneeded else [DI] Fixed bug requesting non existing service from dumped frozen container Update validators.sk.xlf [WebProfiler] fix content-type parameter Replace romaji period characters with Japanese style zenkaku period characters fixed CS fixed CS [Console] Avoided an unnecessary check. Added missing French validator translations typo first->second Passed the config when building the Configuration in ConfigurableExtension removed unused code Fixed variable name used in translation cache Conflicts: src/Symfony/Component/Console/Event/ConsoleCommandEvent.php
2 parents 8fa0ccb + 1013129 commit 67ef8d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Controller/ExceptionController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ public function cssAction($token)
9393
if (!$this->templateExists($template)) {
9494
$handler = new ExceptionHandler();
9595

96-
return new Response($handler->getStylesheet($exception));
96+
return new Response($handler->getStylesheet($exception), 200, array('Content-Type' => 'text/css'));
9797
}
9898

99-
return new Response($this->twig->render('@WebProfiler/Collector/exception.css.twig'), 200, 'text/css');
99+
return new Response($this->twig->render('@WebProfiler/Collector/exception.css.twig'), 200, array('Content-Type' => 'text/css'));
100100
}
101101

102102
protected function getTemplate()

0 commit comments

Comments
 (0)
0