diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-27 14:24:23 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-27 14:24:23 +0100 |
commit | bdbefe17d6ae2d41d990db7bf4c905ff4f40b46b (patch) | |
tree | 3d3e3339f12e6c322ec5d5b503fc705253f165eb /lib | |
parent | df4bd322b20009b50b9cdb8897cf5295732147ae (diff) | |
parent | e0e51fd79fded941ce307e3b937e5f634b4e0550 (diff) | |
download | nextcloud-server-bdbefe17d6ae2d41d990db7bf4c905ff4f40b46b.tar.gz nextcloud-server-bdbefe17d6ae2d41d990db7bf4c905ff4f40b46b.zip |
Merge pull request #20782 from mitar/better-https
Also allow empty value for no-HTTPS
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/appframework/http/request.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php index ea42c9a8967..2bbb70db0f8 100644 --- a/lib/private/appframework/http/request.php +++ b/lib/private/appframework/http/request.php @@ -541,7 +541,8 @@ class Request implements \ArrayAccess, \Countable, IRequest { if (isset($this->server['HTTPS']) && $this->server['HTTPS'] !== null - && $this->server['HTTPS'] !== 'off') { + && $this->server['HTTPS'] !== 'off' + && $this->server['HTTPS'] !== '') { return 'https'; } |