public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
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.
91ccc470
data/web/autodiscover-json.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Diff
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);