id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 49369,redirect_canonical() should strip trailing protocols,onlyonemj,,"I was crawling some of my sites as I was setting up SEO strategies and found really odd 301 redirects on all tested sites. 1. https://domain.com/http:// redirects to https://domain.com/http:/ (one forward slash less). So it's basically a nonexistent page redirecting to another nonexistent page 2. To figure what could be causing this I needed to check if this was happening to just this site or others. I discovered that all sites suffered the same issue regardless of host or webserver stack. 3. Wondering if Cloudflare a common plugin was causing it, I unproxied and entered all the sites in dev mode and had all plugins disabled and the problem still persists Spiders/crawlers pick this up - appending http:// to end of root URLs manually is not required. This issue persists - likely a bug in WordPress redirect API. Anybody care to replicate and confirm? Is this a bug? ",defect (bug),new,normal,Awaiting Review,Canonical,5.3.2,major,,needs-patch needs-unit-tests,,