protected function CasRedirectResponse::isSafe in CAS 8
Same name and namespace in other branches
- 2.x src/CasRedirectResponse.php \Drupal\cas\CasRedirectResponse::isSafe()
Returns whether the URL is considered as safe to redirect to.
Parameters
string $url: The URL checked for safety.
Return value
bool
Overrides SecuredRedirectResponse::isSafe
File
- src/
CasRedirectResponse.php, line 28
Class
- CasRedirectResponse
- Provides a non-cacheable redirect response to an outside server.
Namespace
Drupal\casCode
protected function isSafe($url) {
return TRUE;
}