From 71916452eccfb55bfcfce2f6aacd4457c69b3bf1 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 22 Jul 2017 21:34:53 +0200 Subject: [PATCH] Include properties in collection etag --- radicale/storage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/radicale/storage.py b/radicale/storage.py index 5054ad2..174e362 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -459,6 +459,7 @@ class BaseCollection: etag = md5() for item in self.get_all(): etag.update((item.href + "/" + item.etag).encode("utf-8")) + etag.update(json.dumps(self.get_meta(), sort_keys=True).encode()) return '"%s"' % etag.hexdigest() @classmethod