Allows manipulation of the response object when performing a redirect.
Hierarchy
- class \Drupal\Core\EventSubscriber\RedirectResponseSubscriber implements EventSubscriberInterface
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. |
Please login to continue.