r595 - in zope2.10/trunk/debian: . patches

Fabio Tranchitella kobold at alioth.debian.org
Fri Feb 9 13:05:11 CET 2007


Author: kobold
Date: 2007-02-09 13:05:10 +0100 (Fri, 09 Feb 2007)
New Revision: 595

Added:
   zope2.10/trunk/debian/patches/webdav.dpatch
Modified:
   zope2.10/trunk/debian/changelog
   zope2.10/trunk/debian/patches/00list
Log:
Preparing the new relese.


Modified: zope2.10/trunk/debian/changelog
===================================================================
--- zope2.10/trunk/debian/changelog	2007-02-07 11:37:13 UTC (rev 594)
+++ zope2.10/trunk/debian/changelog	2007-02-09 12:05:10 UTC (rev 595)
@@ -1,3 +1,10 @@
+zope2.10 (2.10.2-2) experimental; urgency=low
+
+  * debian/patches/webdav.dpatch: applied patch to fix webdav quoting for
+    resources with names containing spaces. (Closes: #410051)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Fri,  9 Feb 2007 12:59:18 +0100
+
 zope2.10 (2.10.2-1) experimental; urgency=low
 
   [ Jonas Meurer]

Modified: zope2.10/trunk/debian/patches/00list
===================================================================
--- zope2.10/trunk/debian/patches/00list	2007-02-07 11:37:13 UTC (rev 594)
+++ zope2.10/trunk/debian/patches/00list	2007-02-09 12:05:10 UTC (rev 595)
@@ -1 +1,2 @@
 deb-zopeconf
+webdav

Added: zope2.10/trunk/debian/patches/webdav.dpatch
===================================================================
--- zope2.10/trunk/debian/patches/webdav.dpatch	2007-02-07 11:37:13 UTC (rev 594)
+++ zope2.10/trunk/debian/patches/webdav.dpatch	2007-02-09 12:05:10 UTC (rev 595)
@@ -0,0 +1,19 @@
+#! /bin/sh -e
+##
+## DP: Fix quoting for webdav resources
+
+. $(dirname $0)/DPATCH
+
+ at DPATCH@
+diff -urN zope2.9-2.9.6.orig/z/lib/python/webdav/davcmds.py zope2.9-2.9.6/z/lib/python/webdav/davcmds.py
+--- zope2.9-2.9.6.orig/z/lib/python/webdav/davcmds.py	2006-11-21 07:14:30.000000000 +0100
++++ zope2.9-2.9.6/z/lib/python/webdav/davcmds.py	2007-02-07 12:26:47.000000000 +0100
+@@ -169,7 +169,7 @@
+                     if dflag:
+                         ob._p_deactivate()
+                 elif hasattr(ob, '__dav_resource__'):
+-                    uri = urljoin(url, absattr(ob.getId()))
++                    uri = urljoin(url, quote(absattr(ob.getId())))
+                     depth = depth=='infinity' and depth or 0
+                     self.apply(ob, uri, depth, result, top=0)
+                     if dflag:


Property changes on: zope2.10/trunk/debian/patches/webdav.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-zope-commits mailing list