From b9440474284fd846db65d899a627c73a95bd86f5 Mon Sep 17 00:00:00 2001 From: Alexander Schier Date: Sun, 28 Apr 2013 16:45:10 +0200 Subject: [PATCH] Fix for sync from android devices (allow the collections-url to end with a slash) --- weave/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave/urls.py b/weave/urls.py index 2fa8256..153d5fc 100644 --- a/weave/urls.py +++ b/weave/urls.py @@ -17,7 +17,7 @@ url(r'^(?P[\d\.]+?)/(?P.*?)/storage/(?P.*?)/(?P.*?)$', sync.storage, name="weave-wbo_storage"), url(r'^(?P[\d\.]+?)/(?P.*?)/storage/(?P.*?)$', sync.storage, name="weave-col_storage"), url(r'^(?P[\d\.]+?)/(?P.*?)/storage$', sync.storage), - url(r'^(?P[\d\.]+?)/(?P.*?)/info/collections$', sync.info, name="weave-info"), + url(r'^(?P[\d\.]+?)/(?P.*?)/info/collections[/]?$', sync.info, name="weave-info"), url(r'^misc/(?P[\d\.]+?)/captcha_html$', misc.captcha, name="weave-captcha"), url(r'^user/(?P[\d\.]+?)/(?P.*?)/node/weave$', user.node, name="weave-node"), url(r'^user/(?P[\d\.]+?)/(?P.*?)/password$', user.password, name="weave-password"),