[wp-trac] [WordPress Trac] #24394: is_ssl does not recognize ssl when behind a proxy

WordPress Trac noreply at wordpress.org
Thu May 23 12:09:35 UTC 2013


#24394: is_ssl does not recognize ssl when behind a proxy
-------------------------+-----------------------------
 Reporter:  ziodave      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 There are cases in which WordPress is installed as backed server to a
 front-end proxy.

 The front-end proxy is set to use SSL while the connection between the
 front-end proxy and the back-end WordPress happens in plain HTTP.

 In the above scenario WordPress does not realize that clients are
 connecting via https and returns the incorrect url when using functions
 that rely on is_ssl (e.g. plugins_url).

 I would suggest adding a global configuration constant, e.g. FORCE_SSL
 that would forse is_ssl to always return true.

 Thanks.

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


More information about the wp-trac mailing list