summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/owncloud/files')
-rw-r--r--www-apps/owncloud/files/owncloud-4.5.2-fix_sabre_connector.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/www-apps/owncloud/files/owncloud-4.5.2-fix_sabre_connector.patch b/www-apps/owncloud/files/owncloud-4.5.2-fix_sabre_connector.patch
new file mode 100644
index 000000000000..c769006e9bbe
--- /dev/null
+++ b/www-apps/owncloud/files/owncloud-4.5.2-fix_sabre_connector.patch
@@ -0,0 +1,26 @@
+From bfff3d3f9baf5baaf9ea247d0a5d17ac498f8077 Mon Sep 17 00:00:00 2001
+From: Brice Maron <brice@bmaron.net>
+Date: Wed, 14 Nov 2012 20:10:24 +0000
+Subject: [PATCH] Correct quoting error with Sabre connector. Fix critical pg
+ pbms
+
+---
+ lib/connector/sabre/node.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
+index 6a2ad22..bac4418 100644
+--- a/lib/connector/sabre/node.php
++++ b/lib/connector/sabre/node.php
+@@ -278,7 +278,7 @@ static public function removeETagPropertyForPath($path) {
+
+ //remove etag for all Shared folders
+ $query = OC_DB::prepare( 'DELETE FROM `*PREFIX*properties`'
+- .' WHERE `propertypath` = "/Shared"'
++ .' WHERE `propertypath` = \'/Shared\' '
+ );
+ $query->execute(array());
+
+--
+1.7.10
+