]> source.dussan.org Git - nextcloud-server.git/commit
Get the real protocol behind several proxies
authorLukas Reschke <lukas@owncloud.com>
Tue, 24 Feb 2015 11:24:55 +0000 (12:24 +0100)
committerLukas Reschke <lukas@owncloud.com>
Tue, 24 Feb 2015 11:24:55 +0000 (12:24 +0100)
commit1c6eae90173b2b323a8e4633cda5f37eafa5a1d4
treee7121f8edcb0d9d537e91d9ca20e947613bbba41
parente08ebe87dcd748deecba52714cf2711095671475
Get the real protocol behind several proxies

X-Forwarded-Proto contains a list of protocols if ownCloud is behind multiple reverse proxies.

This is a revival of https://github.com/owncloud/core/pull/11157 using the new IRequest public API.
lib/private/appframework/http/request.php
tests/lib/appframework/http/RequestTest.php