Commit 813d0d8e authored by webchick's avatar webchick
Browse files

Issue #2081209 by mrsinguyen: Remove Unused local variable () from...

Issue #2081209 by mrsinguyen: Remove Unused local variable () from /core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php.
parent efbf55d4
......@@ -47,7 +47,6 @@ public function checkRedirectUrl(FilterResponseEvent $event) {
if ($response instanceOf RedirectResponse) {
$options = array();
$redirect_path = $response->getTargetUrl();
$destination = $event->getRequest()->query->get('destination');
// A destination in $_GET always overrides the current RedirectResponse.
// We do not allow absolute URLs to be passed via $_GET, as this can be an
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment