]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Fixes #477: support multi reverse proxy with comma syntax 505/head
authorArthurHoaro <arthur@hoa.ro>
Sun, 28 Feb 2016 15:24:18 +0000 (16:24 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sun, 28 Feb 2016 15:24:18 +0000 (16:24 +0100)
commit85244fa0d06eec620f8476817f68d8ea2dca0e38
tree0513dad3f290e1e5d41c0760d24aa96a7590c2ce
parent8710d4da8e21b31a90bdcaed10521e0b937cf6c2
Fixes #477: support multi reverse proxy with comma syntax

Going through multiple reverse proxy will store multiple scheme and port in HTTP header separated by a comma. Shaarli will use the first one to generate server_url.
application/HttpUtils.php
tests/HttpUtils/ServerUrlTest.php