You are here

protected function CasRedirectResponse::isSafe in CAS 8

Same name and namespace in other branches
  1. 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\cas

Code

protected function isSafe($url) {
  return TRUE;
}