summaryrefslogtreecommitdiffstats
path: root/3rdparty
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-09 17:46:50 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-09 17:49:45 +0200
commitb2c58bf5a66217ecba51331b34add22a2652d02a (patch)
tree478e91e459ca3022c8e44071a00db5522c476381 /3rdparty
parent7955120aed32882dad630d7dee88cc86eda77793 (diff)
downloadnextcloud-server-b2c58bf5a66217ecba51331b34add22a2652d02a.tar.gz
nextcloud-server-b2c58bf5a66217ecba51331b34add22a2652d02a.zip
Fix for broken Mail App in OSX Mountain Lion. https://mail.kde.org/pipermail/owncloud/2012-August/004649.html
Diffstat (limited to '3rdparty')
-rwxr-xr-x3rdparty/Sabre/CardDAV/Plugin.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/3rdparty/Sabre/CardDAV/Plugin.php b/3rdparty/Sabre/CardDAV/Plugin.php
index ca20e468497..96def6dd96b 100755
--- a/3rdparty/Sabre/CardDAV/Plugin.php
+++ b/3rdparty/Sabre/CardDAV/Plugin.php
@@ -154,7 +154,10 @@ class Sabre_CardDAV_Plugin extends Sabre_DAV_ServerPlugin {
$val = stream_get_contents($val);
// Taking out \r to not screw up the xml output
- $returnedProperties[200][$addressDataProp] = str_replace("\r","", $val);
+ //$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;
}
}