[wp-trac] [WordPress Trac] #53483: v5.7.2 - HTTPS Redirect Works for Pages But Fails for Posts

WordPress Trac noreply at wordpress.org
Tue Jun 22 21:55:20 UTC 2021


#53483: v5.7.2 - HTTPS Redirect Works for Pages But Fails for Posts
---------------------------+------------------------------
 Reporter:  bvallance      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  HTTP API       |     Version:  5.7.2
 Severity:  major          |  Resolution:
 Keywords:  needs-testing  |     Focuses:  privacy
---------------------------+------------------------------

Comment (by bvallance):

 After some additional testing, it appears that what is happening is that
 on pages that contain linked content (e.g., images), the links contain
 https as the protocol, not http.  This forces an https redirect for the
 entire page because one or more linked content items contains the https
 protocol.  I have confirmed that https redirection does not happen for
 pages that don't contain any linked content (e.g., text blocks,
 separators, etc.).  BTW - The post I was testing in my original post
 doesn't contain any linked content.

 Am I correct that WordPress v5.7.2 does NOT perform automatic http
 redirection unless the page or post contains linked content whose URL(s)
 contains https as the protocol?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53483#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list