Closed (fixed)
Project:
Redirect
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 May 2026 at 16:00 UTC
Updated:
9 Nov 2026 at 13:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pookmish commentedI also believe this is related to what some experience in #3057250: Validation issue on adding url redirect and maybe #3363110: Apply matching redirect even on KernelEvents::EXCEPTION.
Patch provided for those that would like it.
Comment #5
sriram_s commentedTested pookmish's patch from #2 locally on Drupal 10 and 11 (redirect 8.x-1.13) — reproduced the 404 and confirmed the patch fixes it.
Opened MR !203 with the patch plus a regression test.
Comment #6
chikeThe patch fixed the issue for me. Thanks.
Comment #7
duaelfrUpdated IS with steps to reproduce.
MR looks good, fixes the issue and includes tests.
Thanks a lot!
Comment #8
berdirMerged.
Comment #12
malcomio commentedWe've observed a similar problem on a site running 8.x-1.13, although in our case we're not seeing any exceptions in the logs.
#3540201: Redirect module throws 404 when creating redirects with /media/* source paths mentions an issue with media URLs.
In our case, we've seen it with a custom route
/document/{node}/download, where the content author was trying to redirect from the deleted node ID.So it sounds like it might be the same issue. Will see if patching also addresses it for us.
Comment #13
malcomio commentedYes, applying f5e4d190 as a patch to 8.x-1.13 does seem to address the problem.
Odd that the exception isn't in the logs, though...