[wp-trac] [WordPress Trac] #19337: is_ssl() fails behind nginx proxy

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 29 13:28:57 UTC 2011


#19337: is_ssl() fails behind nginx proxy
-----------------------------------------+------------------------------
 Reporter:  niklasbr                     |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Security                     |     Version:  3.3
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:13 dd32]:
 > {{{
 > $_SERVER['HTTP_REMOTE_ADDR'] = $_SERVER['HTTP_REMOTE_ADDR'];
 > }}}

 Shouldn't it be `REMOTE_ADDR` on the left?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19337#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list