From 1910e23df8a6d9cd1f3d05b1531640eea0bcc2ef Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Sat, 26 Mar 2011 07:36:03 -0500 Subject: [PATCH] [FrameworkBundle] Adding a title tag to make the default error page just a little bit longer so that chrome displays it The background is that Chrome only displays the content returned on an error page if payload is at least 512 bytes. Prior to this change, the 404 page was just a few bytes short, resulting in the Chrome error message instead of the real one returned by Symfony (confusing for the user). --- .../FrameworkBundle/Resources/views/Exception/error.html.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/error.html.twig b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/error.html.twig index 6cd36bb11abc..22d0c3a29bcb 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/error.html.twig +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/error.html.twig @@ -2,6 +2,7 @@ + An Error Occurred: {{ status_text }}

Oops! An Error Occurred