RedirectResponseSubscriber

Allows manipulation of the response object when performing a redirect.

Hierarchy

File

core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php, line 20

Namespace

Drupal\Core\EventSubscriber

Members

Name Modifiers Type Description
RedirectResponseSubscriber::$unroutedUrlAssembler protected property The unrouted URL assembler service.
RedirectResponseSubscriber::checkRedirectUrl public function Allows manipulation of the response object when performing a redirect.
RedirectResponseSubscriber::getDestinationAsAbsoluteUrl protected function Converts the passed in destination into an absolute URL.
RedirectResponseSubscriber::getSubscribedEvents static function Registers the methods in this class that should be listeners. Overrides EventSubscriberInterface::getSubscribedEvents
RedirectResponseSubscriber::sanitizeDestination public function Sanitize the destination parameter to prevent open redirect attacks.
RedirectResponseSubscriber::__construct public function Constructs a RedirectResponseSubscriber object.
doc_Drupal
2016-10-29 09:36:55
Comments
Leave a Comment

Please login to continue.