[HttpFoundation] Set meta refresh time to 0 in RedirectResponse content

This commit is contained in:
Jonathan Vollebregt 2017-07-16 10:47:45 +02:00 committed by Fabien Potencier
parent 62fdf9c72b
commit 5508a00e74
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class RedirectResponse extends Response
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="1;url=%1$s" />
<meta http-equiv="refresh" content="0;url=%1$s" />
<title>Redirecting to %1$s</title>
</head>