[wp-trac] [WordPress Trac] #15902: is_ssl() Proxy Modification
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 19 20:58:15 UTC 2010
#15902: is_ssl() Proxy Modification
--------------------------+-----------------------------
Reporter: ctsonline | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
The current function is_ssl() does not work when using a proxy or
loadbalanced front end. If possible it would be nice to add
{{{
if ( isset($_SERVER['HTTP_FRONT_END_HTTPS']) )
{
if ( 'on' == strtolower($_SERVER['HTTP_FRONT_END_HTTPS'])
)
return true;
if ( '1' == $_SERVER['HTTP_FRONT_END_HTTPS'] )
return true;
}
}}}
To the core of that function to ensure that SSL works in this type of
environment.
Thanks,
Seth
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15902>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list