[wp-trac] [WordPress Trac] #63733: Undefined array key "path" error coming from dynamically generated redirect paths
WordPress Trac
noreply at wordpress.org
Mon Jul 21 20:25:28 UTC 2025
#63733: Undefined array key "path" error coming from dynamically generated redirect
paths
--------------------------+------------------------------
Reporter: chrismattix | Owner: johnjamesjacoby
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.9
Component: Canonical | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by johnjamesjacoby):
* owner: (none) => johnjamesjacoby
* status: new => assigned
* milestone: Awaiting Review => 6.9
Comment:
This may happen if `$redirect_url` is "seriously malformed" causing the
`parse_url()` calls on either line 578 or 597 to return `false`.
It also may have revealed itself due to error suppression being removed as
part of #49980.
I think the easiest fix is to redo what already happens at the top of
`redirect_canonical()`. Patch imminent.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63733#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list