Skip to content

Commit d76171e

Browse files
committed
bug #23526 [HttpFoundation] Set meta refresh time to 0 in RedirectResponse content (jnvsor)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #23526). Discussion ---------- [HttpFoundation] Set meta refresh time to 0 in RedirectResponse content | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #23524 | License | MIT Set meta refresh time to 0 in RedirectResponse content Commits ------- 5508a00 [HttpFoundation] Set meta refresh time to 0 in RedirectResponse content
2 parents 62fdf9c + 5508a00 commit d76171e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/RedirectResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function setTargetUrl($url)
8383
<html>
8484
<head>
8585
<meta charset="UTF-8" />
86-
<meta http-equiv="refresh" content="1;url=%1$s" />
86+
<meta http-equiv="refresh" content="0;url=%1$s" />
8787
8888
<title>Redirecting to %1$s</title>
8989
</head>

0 commit comments

Comments
 (0)