8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f676878 commit 5994489Copy full SHA for 5994489
src/Symfony/Component/HttpFoundation/RedirectResponse.php
@@ -23,7 +23,8 @@ class RedirectResponse extends Response
23
/**
24
* Creates a redirect response so that it conforms to the rules defined for a redirect status code.
25
*
26
- * @param string $url The URL to redirect to
+ * @param string $url The URL to redirect to. The URL should be a full URL, with schema etc.,
27
+ * but practically every browser redirects on paths only as well
28
* @param int $status The status code (302 by default)
29
* @param array $headers The headers (Location is always set to the given URL)
30
0 commit comments