summaryrefslogtreecommitdiffstats
path: root/hyperkitty/urls.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-08-01 12:19:12 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-08-02 10:54:23 +0200
commitc14775c638735fd719a97f53cb119ccea37f2ba4 (patch)
treed04dd662b78ff9d51e3fd16428edee42a8914306 /hyperkitty/urls.py
parenta5d7239c7a2be95816716997a8bbee7463a734ad (diff)
downloadhyperkitty-c14775c638735fd719a97f53cb119ccea37f2ba4.tar.gz
hyperkitty-c14775c638735fd719a97f53cb119ccea37f2ba4.tar.xz
hyperkitty-c14775c638735fd719a97f53cb119ccea37f2ba4.zip
Use the user_id as key to avoid exposing the email address
Diffstat (limited to 'hyperkitty/urls.py')
-rw-r--r--hyperkitty/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/urls.py b/hyperkitty/urls.py
index 3cc24e5..c24615a 100644
--- a/hyperkitty/urls.py
+++ b/hyperkitty/urls.py
@@ -51,7 +51,7 @@ urlpatterns = patterns('hyperkitty.views',
url(r'^accounts/register/$', 'accounts.user_registration', {'SSL': True}, name='user_registration'),
# Users
- url(r'^user/(?P<email>[^/@]+@[^/@]+)/$', 'accounts.public_profile', name='public_user_profile'),
+ url(r'^user/(?P<user_id>[^/]+)/$', 'accounts.public_profile', name='public_user_profile'),
# List archives and overview
url(r'^list/(?P<mlist_fqdn>[^/@]+@[^/@]+)/(?P<year>\d{4})/(?P<month>\d\d?)/(?P<day>\d\d?)/$',