summaryrefslogtreecommitdiff
path: root/chimere/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/urls.py')
-rw-r--r--chimere/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/urls.py b/chimere/urls.py
index 74fe238..27c6eef 100644
--- a/chimere/urls.py
+++ b/chimere/urls.py
@@ -136,7 +136,7 @@ urlpatterns += patterns(
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+)/'
- r'(?:(?P<attrs>[a-zA-Z0-9_;.:-]+)/)?)?$',
+ 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"),