summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-12-04 16:49:46 -0300
committerTomás Touceda <chiiph@leap.se>2013-12-04 16:49:46 -0300
commit38960aa71709556dee0b84a279186027619c1c18 (patch)
treefa89002143c805f29174c7134081740c94729b2d
parenta0a7da00151456c5ba6372fa039d462dd2ad8f8f (diff)
parent6792e50606e33f10c12f16b0d7d7aeb87d4a4adb (diff)
Merge remote-tracking branch 'drebs/bug/encode-u1db-metadata-doc-prefix' into develop
-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):