]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix for broken Mail App in OSX Mountain Lion. https://mail.kde.org/pipermail/owncloud...
authorThomas Tanghus <thomas@tanghus.net>
Thu, 9 Aug 2012 15:22:56 +0000 (17:22 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 12:58:47 +0000 (14:58 +0200)
3rdparty/Sabre/CardDAV/Plugin.php

index 9ebec243eb0c88ee4f569ccf85e0a5aeedc42e4b..095769feddc3572e1da1763e98e89795f2a6a322 100644 (file)
@@ -153,6 +153,9 @@ class Sabre_CardDAV_Plugin extends Sabre_DAV_ServerPlugin {
 
                 // Taking out \r to not screw up the xml output
                 $returnedProperties[200][$addressDataProp] = str_replace("\r","", $val);
+                // The stripping of \r breaks the Mail App in OSX Mountain Lion
+                // this is fixed in master, but not backported. /Tanghus
+                $returnedProperties[200][$addressDataProp] = $val;
 
             }
         }