[RedirectResponse] Added missing doctype
and title
tag
This commit is contained in:
parent
e294211343
commit
020fa51c54
@ -37,10 +37,13 @@ class RedirectResponse extends Response
|
||||
}
|
||||
|
||||
parent::__construct(
|
||||
sprintf('<html>
|
||||
sprintf('<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="refresh" content="1;url=%1$s" />
|
||||
|
||||
<title>Redirecting to %1$s</title>
|
||||
</head>
|
||||
<body>
|
||||
Redirecting to <a href="%1$s">%1$s</a>.
|
||||
|
Reference in New Issue
Block a user