protected function DomainRedirectResponse::isSafe in Domain Access 8
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
- domain/
src/ DomainRedirectResponse.php, line 54
Class
- DomainRedirectResponse
- A redirect response which understands domain URLs are local to the install.
Namespace
Drupal\domainCode
protected function isSafe($url) {
return $this
->isLocal($url);
}