[Pkg-owncloud-commits] [owncloud] 139/457: Revert "Revert "FIX for webdav.mediencenter.t-online.de""

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:05:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit f8938f004d6f6aedadca87734a48a4151af6d1a3
Author: Oliver Kohl D.Sc <oliver at kohl.bz>
Date:   Tue May 26 13:36:45 2015 +0200

    Revert "Revert "FIX for webdav.mediencenter.t-online.de""
---
 lib/private/files/storage/dav.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/private/files/storage/dav.php b/lib/private/files/storage/dav.php
index 0ddfde1..52272be 100644
--- a/lib/private/files/storage/dav.php
+++ b/lib/private/files/storage/dav.php
@@ -743,6 +743,11 @@ class DAV extends Common {
 					return false;
 				}
 			} else {
+				// This resolves issues that are flooding the log file due to some malformed
+				// WebDAV response e.g. T-Mobile's cloud named "Mediencenter"
+				if (!isset($response['{DAV:}getlastmodified']))
+					return false;
+				
 				$remoteMtime = strtotime($response['{DAV:}getlastmodified']);
 				return $remoteMtime > $time;
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list