[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).
This commit is contained in:
parent
bfd57c5cf0
commit
1910e23df8
@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>An Error Occurred: {{ status_text }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Oops! An Error Occurred</h1>
|
||||
|
Reference in New Issue
Block a user