lib/ext
Aleksander Machniak
machniak at kolabsys.com
Mon Aug 18 09:49:16 CEST 2014
lib/ext/Syncroton/Server.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c835425174b868e8482b5d8cbcd71f627fb1c21f
Author: Aleksander Machniak <alec at alec.pl>
Date: Mon Aug 18 09:48:35 2014 +0200
Set application/vnd.ms-sync.wbxml content-type for empty responses (#2952)
This fixes the issue with multiple sent messages on Blackberry.
diff --git a/lib/ext/Syncroton/Server.php b/lib/ext/Syncroton/Server.php
index bbcfc3d..e89b0fe 100644
--- a/lib/ext/Syncroton/Server.php
+++ b/lib/ext/Syncroton/Server.php
@@ -135,7 +135,7 @@ class Syncroton_Server
header("MS-Server-ActiveSync: 14.00.0536.000");
// avoid sending HTTP header "Content-Type: text/html" for empty sync responses
- ini_set('default_mimetype', null);
+ ini_set('default_mimetype', 'application/vnd.ms-sync.wbxml');
try {
$command = new $className($requestBody, $device, $requestParameters);
More information about the commits
mailing list