diff options
author | drebs <drebs@leap.se> | 2013-12-04 17:40:55 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-12-04 17:40:55 -0200 |
commit | 6792e50606e33f10c12f16b0d7d7aeb87d4a4adb (patch) | |
tree | fa89002143c805f29174c7134081740c94729b2d | |
parent | a0a7da00151456c5ba6372fa039d462dd2ad8f8f (diff) |
Encode U1DB metadata doc prefix. Closes #4658.
-rw-r--r-- | common/changes/bug_4658_encode-u1db-metadata-doc-prefix | 1 | ||||
-rw-r--r-- | common/src/leap/soledad/common/objectstore.py | 2 |
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): |