summaryrefslogtreecommitdiff
path: root/chimere/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/urls.py')
-rw-r--r--chimere/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/urls.py b/chimere/urls.py
index 824c7ed..74fe238 100644
--- a/chimere/urls.py
+++ b/chimere/urls.py
@@ -135,7 +135,8 @@ urlpatterns += patterns(
'get_all_categories', name="get_all_categories"),
url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?getCategory/(?P<category_id>\d+)/?$',
'getCategory', name="get_category"),
- url(r'^(?P<area_name>[a-zA-Z0-9_-]*/)?get-share-url/(?P<network>\w+)?$',
+ url(r'^(?P<area_name>[a-zA-Z0-9_-]*/)?get-share-url/(?:(?P<network>\w+)/'
+ r'(?:(?P<attrs>[a-zA-Z0-9_;.:-]+)/)?)?$',
'getShareUrl', name="get-share-url"),
url(r'^(?P<area_name>[a-zA-Z0-9_-]*/)?ty/(?P<tiny_urn>\w+)$',
'redirectFromTinyURN', name="tiny"),