Needs review
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2026 at 00:02 UTC
Updated:
28 Sep 2026 at 01:02 UTC
Jump to comment: Most recent
GotoAction::execute() registers a response listener that replaces the response with a redirect. This listener remains registered even after it sets the redirect response.
Persistent application servers such as FrankenPHP worker mode may reuse the event dispatcher across requests. In such a case, later requests receive the same redirect even when the action has not run again.
Remove the listener after it sets the redirect response.
None.
None.
None.
AI disclosure: I used AI to help prepare the IS and MR (Astra and Opus 5.5).
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ptmkenny commentedComment #4
ptmkenny commented