WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#35516 closed enhancement (wontfix)

Canonical redirects should respect scheme

Reported by: ericlewis Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Canonical Keywords:
Focuses: Cc:
PR Number:

Description

If a user's home_urlis https://example.com, visitors can access the site at both http://example.com and https://example.com.

Although a user can set a redirect at the web server, WordPress should handle this as well.

Attachments (1)

35516.diff (1.3 KB) - added by ericlewis 4 years ago.

Download all attachments as: .zip

Change History (5)

@ericlewis
4 years ago

#1 @ericlewis
4 years ago

  • Keywords has-patch https 2nd-opinion dev-feedback added

#2 @ocean90
4 years ago

  • Keywords has-patch https 2nd-opinion dev-feedback removed

That looks like [28610] which got reverted in [30090].

#3 @ocean90
4 years ago

  • Keywords has-patch https added

*rolleyes*

#4 @ericlewis
4 years ago

  • Keywords has-patch https removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

This will break things, e.g. sites served over FlexibleSSL proxies. Closing out, we should focus effort on FORCE_SSL.

Note: See TracTickets for help on using tickets.