Opened 12 months ago
#60721 new defect (bug)
redirect_canonical suddenly causes issues with paramter values and CDN
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 6.4.3 |
Component: | Canonical | Keywords: | |
Focuses: | Cc: |
Description
Hi there,
I was just wondering if anything has changed regarding https://developer.wordpress.org/reference/functions/redirect_canonical/?
https://some-domain.tld/?my_param=a+a
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.