SecuredRedirectResponse::isSafe

abstract protected SecuredRedirectResponse::isSafe($url)

Returns whether the URL is considered as safe to redirect to.

Parameters

string $url: The URL checked for safety.

Return value

bool

File

core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php, line 69

Class

SecuredRedirectResponse
Provides a common base class for safe redirects.

Namespace

Drupal\Component\HttpFoundation

Code

abstract protected function isSafe($url);
doc_Drupal
2016-10-29 09:40:59
Comments
Leave a Comment

Please login to continue.