[wp-trac] [WordPress Trac] #8641: Improvements to is_ssl()
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 17 01:56:35 GMT 2008
#8641: Improvements to is_ssl()
-------------------------+--------------------------------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Security | Version: 2.7
Severity: normal | Keywords: is_ssl, ssl, https
-------------------------+--------------------------------------------------
It appears that some server setups (particularly those running suexec on
Apache < 2 ) don't populate the `$_SERVER['HTTPS']` environment variable,
or populate it with '1' instead of 'on'. This means that a site can be
running on SSL but `is_ssl()` returns false.
Patch coming up to add support for differing values of
`$_SERVER['HTTPS']`.
--
Ticket URL: <http://trac.wordpress.org/ticket/8641>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list