Make WordPress Core

Opened 3 months ago

#60721 new defect (bug)

redirect_canonical suddenly causes issues with paramter values and CDN

Reported by: retrovertigo's profile retrovertigo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 6.4.3
Component: Canonical Keywords:
Focuses: Cc:


Hi there,

I was just wondering if anything has changed regarding


triggers a 301 redirect to
https://some-domain.tld/?my_param=a a

Now our CDN is set to pass URLs with my_param straight on to WordPress. Since that response with a 301, that's what gets cached by the CDN and causes a redirect loop.

Is that something new? I hadn't had that issue before, but also not 100% sure if I sent a value like "a+a" before. Trying to figure out why this redirect loop happens now after years.

I'll leave that ticket to be a bug, but if nothing has changed in redirect_canonical() then I guess it can just be closed.

Thanks for your help.

Change History (0)

Note: See TracTickets for help on using tickets.