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 b253faa commit 568a215Copy full SHA for 568a215
framework/web/CHttpRequest.php
@@ -750,8 +750,8 @@ public function getCookies()
750
751
/**
752
* Redirects the browser to the specified URL.
753
- * @param string $url URL to be redirected to. If the URL is a relative one, the base URL of
754
- * the application will be inserted at the beginning.
+ * @param string $url URL to be redirected to. Note that when URL is not
+ * absolute (not starting with "/") it will be relative to current request URL.
755
* @param boolean $terminate whether to terminate the current application
756
* @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html}
757
* for details about HTTP status code.
0 commit comments