summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/changes/bug_4658_encode-u1db-metadata-doc-prefix1
-rw-r--r--common/src/leap/soledad/common/objectstore.py2
2 files changed, 2 insertions, 1 deletions
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):