From 6792e50606e33f10c12f16b0d7d7aeb87d4a4adb Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 4 Dec 2013 17:40:55 -0200 Subject: Encode U1DB metadata doc prefix. Closes #4658. --- common/changes/bug_4658_encode-u1db-metadata-doc-prefix | 1 + common/src/leap/soledad/common/objectstore.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 common/changes/bug_4658_encode-u1db-metadata-doc-prefix (limited to 'common') diff --git a/common/changes/bug_4658_encode-u1db-metadata-doc-prefix b/common/changes/bug_4658_encode-u1db-metadata-doc-prefix new file mode 100644 index 00000000..17013f6b --- /dev/null +++ b/common/changes/bug_4658_encode-u1db-metadata-doc-prefix @@ -0,0 +1 @@ + o Encode U1DB metadata doc prefix. Closes #4658. diff --git a/common/src/leap/soledad/common/objectstore.py b/common/src/leap/soledad/common/objectstore.py index 7aff3e32..9f477a8d 100644 --- a/common/src/leap/soledad/common/objectstore.py +++ b/common/src/leap/soledad/common/objectstore.py @@ -50,7 +50,7 @@ class ObjectStoreDatabase(InMemoryDatabase): A backend for storing u1db data in an object store. """ - U1DB_DATA_DOC_ID_PREFIX = 'u1db/' + U1DB_DATA_DOC_ID_PREFIX = 'u1db%2F' @classmethod def open_database(cls, url, create, document_factory=None): -- cgit v1.2.3