Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/owncloud/files: owncloud-4.5.2-fix_sabre_connector.patch
Date: Thu, 22 Nov 2012 16:04:05
Message-Id: 20121122160353.1FE4120066@flycatcher.gentoo.org
1 voyageur 12/11/22 16:03:53
2
3 Added: owncloud-4.5.2-fix_sabre_connector.patch
4 Log:
5 Add upstream patch to fix DoS with postgresql backend, thanks Thomas Beutin <tb@×××××××××××××××××.DE> in bug #444163
6
7 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
8
9 Revision Changes Path
10 1.1 www-apps/owncloud/files/owncloud-4.5.2-fix_sabre_connector.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/owncloud/files/owncloud-4.5.2-fix_sabre_connector.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/owncloud/files/owncloud-4.5.2-fix_sabre_connector.patch?rev=1.1&content-type=text/plain
14
15 Index: owncloud-4.5.2-fix_sabre_connector.patch
16 ===================================================================
17 From bfff3d3f9baf5baaf9ea247d0a5d17ac498f8077 Mon Sep 17 00:00:00 2001
18 From: Brice Maron <brice@××××××.net>
19 Date: Wed, 14 Nov 2012 20:10:24 +0000
20 Subject: [PATCH] Correct quoting error with Sabre connector. Fix critical pg
21 pbms
22
23 ---
24 lib/connector/sabre/node.php | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27 diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
28 index 6a2ad22..bac4418 100644
29 --- a/lib/connector/sabre/node.php
30 +++ b/lib/connector/sabre/node.php
31 @@ -278,7 +278,7 @@ static public function removeETagPropertyForPath($path) {
32
33 //remove etag for all Shared folders
34 $query = OC_DB::prepare( 'DELETE FROM `*PREFIX*properties`'
35 - .' WHERE `propertypath` = "/Shared"'
36 + .' WHERE `propertypath` = \'/Shared\' '
37 );
38 $query->execute(array());
39
40 --
41 1.7.10