diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2011-02-22 10:57:39 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2011-02-22 10:57:39 +0530 |
| commit | 2effe90a19ed94a652b3367bcb9d3e42ef0fcbbc (patch) | |
| tree | d606181554a75293638a8af4ef94b856367e4ec3 /addons/document_webdav/webdav.py | |
| parent | da05e220826b2c52ef1448454674d8e27b8e8b0b (diff) | |
| parent | 91c1768528c3ae07305bf5cf460b40bd1b9b6c00 (diff) | |
[MERGE] merged from trunk-addons-development branch
bzr revid: hmo@tinyerp.com-20110222052739-jjyzcrqv0pr29qwq
Diffstat (limited to 'addons/document_webdav/webdav.py')
| -rw-r--r-- | addons/document_webdav/webdav.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/document_webdav/webdav.py b/addons/document_webdav/webdav.py index 1b60ade698f..3a68fb04fed 100644 --- a/addons/document_webdav/webdav.py +++ b/addons/document_webdav/webdav.py @@ -167,6 +167,8 @@ def mk_prop_response(self, uri, good_props, bad_props, doc): # write href information uparts=urlparse.urlparse(uri) fileloc=uparts[2] + if uparts[3]: + fileloc += ';' + uparts[3] if isinstance(fileloc, unicode): fileloc = fileloc.encode('utf-8') href=doc.createElement("D:href") @@ -246,6 +248,8 @@ def mk_propname_response(self,uri,propnames,doc): # write href information uparts=urlparse.urlparse(uri) fileloc=uparts[2] + if uparts[3]: + fileloc += ';' + uparts[3] if isinstance(fileloc, unicode): fileloc = fileloc.encode('utf-8') href=doc.createElement("D:href") @@ -303,6 +307,8 @@ def mk_lock_response(self, uri, props): # write href information uparts=urlparse.urlparse(uri) fileloc=uparts[2] + if uparts[3]: + fileloc += ';' + uparts[3] if isinstance(fileloc, unicode): fileloc = fileloc.encode('utf-8') davpath = self.parent.get_davpath() |
