From 91ccc470247682f2a596a0cdc07843576b1122e6 Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Fri, 12 Jan 2018 06:20:27 +0800 Subject: [PATCH] Make Capitalization Consistent Some ~poorly~ configured reverse proxy interfaces are not specifically configured to respond appropriately with a lowercase "A" in the autodiscover url. So our best course is to make the capitalization consistent with the one we are used to. --- data/web/autodiscover-json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/autodiscover-json.php b/data/web/autodiscover-json.php index decfe3c3..56878838 100644 --- a/data/web/autodiscover-json.php +++ b/data/web/autodiscover-json.php @@ -12,7 +12,7 @@ if ($_GET['Protocol'] == 'ActiveSync') { echo '{"Protocol":"ActiveSync","Url":"' . $autodiscover_config['activesync']['url'] . '"}'; } elseif ($_GET['Protocol'] == 'AutodiscoverV1') { - echo '{"Protocol":"AutodiscoverV1","Url":"https://' . $_SERVER['HTTP_HOST'] . '/autodiscover/autodiscover.xml"}'; + echo '{"Protocol":"AutodiscoverV1","Url":"https://' . $_SERVER['HTTP_HOST'] . '/Autodiscover/Autodiscover.xml"}'; } else { http_response_code(400);