[wp-trac] [WordPress Trac] #19563: feed generator does not correctly detect if we run on https

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 15 14:09:27 UTC 2011


#19563: feed generator does not correctly detect if we run on https
--------------------------+-----------------------------
 Reporter:  duritong      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:
 Severity:  normal        |   Keywords:  rss, https
--------------------------+-----------------------------
 wp-includes/feed.php does not correctly detect, whether the feed is
 accessed via https or not, so it will always generate an http-only link.

 This is because it looks for
 {{{
 $_SERVER['https']
 }}}
 instead of
 {{{
 $_SERVER['HTTPS']
 }}}

 Other wordpress scripts are already looking for:
 {{{
 $_SERVER['HTTPS']
 }}}

 So fix is quite simple and patch is attached and uploaded here:
 https://gist.github.com/1481164

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19563>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list