[ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 166 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
AphrontRedirectResponse:: (8 methods):
setIsExternal()
__construct()
setURI()
getURI()
shouldStopForDebugging()
getHeaders()
buildResponseString()
getURIForRedirect()
Class: AphrontRedirectResponse - X-Ref
TODO: Should be final but isn't because of AphrontReloadResponse.setIsExternal($external) X-Ref |
No description |
__construct() X-Ref |
No description |
setURI($uri) X-Ref |
No description |
getURI() X-Ref |
No description |
shouldStopForDebugging() X-Ref |
No description |
getHeaders() X-Ref |
No description |
buildResponseString() X-Ref |
No description |
getURIForRedirect($uri, $is_external) X-Ref |
Format a URI for use in a "Location:" header. Verifies that a URI redirects to the expected type of resource (local or remote) and formats it for use in a "Location:" header. The HTTP spec says "Location:" headers must use absolute URIs. Although browsers work with relative URIs, we return absolute URIs to avoid ambiguity. For example, Chrome interprets "Location: /\evil.com" to mean "perform a protocol-relative redirect to evil.com". param: string URI to redirect to. param: bool True if this URI identifies a remote resource. return: string URI for use in a "Location:" header. |
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |