[wp-trac] [WordPress Trac] #32354: is_ssl() does not work on cloud hosting
WordPress Trac
noreply at wordpress.org
Tue May 12 08:47:08 UTC 2015
#32354: is_ssl() does not work on cloud hosting
--------------------------------------+------------------------------
Reporter: mdawart | Owner: chriscct7
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.1
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback | Focuses:
--------------------------------------+------------------------------
Changes (by chriscct7):
* keywords: => needs-patch dev-feedback
* owner: => chriscct7
* status: new => assigned
* component: Security => Permalinks
* version: 4.1.1 => 4.1
Comment:
There should really be a filter in there, perhaps 2 (one general one at
the bottom and one earlier that does isset SERVER PORT so it can check a
custom https port).
Also
```
// if site is set to run on SSL, then force-enable SSL detection!
if (stripos(get_option('siteurl'), 'https://') === 0) {
$_SERVER['HTTPS'] = 'on';
}
```
Needs to be a patch file. Will review and work on this a bit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32354#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list