Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
routing system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Sep 2021 at 01:20 UTC
Updated:
9 Oct 2021 at 15:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostthe fix
Comment #3
daffie commentedLooks good to me.
No problems with the extra check for if the destination exists.
Comment #4
alexpottThis can be written better.
Comment #5
alexpottIs the patch for the meta issue. It means we don't call $query->has('destination') and $query->get('destination') (potentially) twice.
Comment #6
andypostThank you, moreover I checked git history and found that this hunk added in #2455083: Open redirect fixes from SA-CORE-2015-001 need to be ported to Drupal 8 (security)
Added comment pointing to SA
Comment #7
longwave+1 for comment linking to SA explaining why we can't use external destinations.
Comment #8
alexpottCommitted c7774d2 and pushed to 9.3.x. Thanks!