8000 [HttpFoundation] Set meta refresh time to 0 in RedirectResponse content by jnvsor · Pull Request #23526 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[HttpFoundation] Set meta refresh time to 0 in RedirectResponse content
  • Loading branch information
jnvsor committed Jul 16, 2017
commit 61dc41ce04e13439540234ec992e8b2cc4078f1e
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/RedirectResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function setTargetUrl($url)
<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>
Expand Down
0