]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Make work behind a reverse proxy
authorArthurHoaro <arthur@hoa.ro>
Fri, 25 Aug 2017 17:47:57 +0000 (19:47 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 2 Sep 2017 11:50:49 +0000 (13:50 +0200)
commita3130d2c2f27052710d4dbd51d0001190b19b383
tree8a8d86ce757ac0796c6bf8b0e3546fed872d2088
parent2a1292359b79ec77257583ea9d97891dfd2ddb1b
Make  work behind a reverse proxy

Without HTTP_X_FORWARDED_PORT check,  might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
application/HttpUtils.php
index.php
tests/HttpUtils/IsHttpsTest.php [new file with mode: 0644]