diff --git a/spongeauth/spongeauth/urls.py b/spongeauth/spongeauth/urls.py index 31551f57f..e2e9593cc 100644 --- a/spongeauth/spongeauth/urls.py +++ b/spongeauth/spongeauth/urls.py @@ -34,7 +34,7 @@ url(r'^admin/', admin.site.urls), url(r'^accounts/', include(accounts.urls, 'accounts')), url(r'^2fa/', include(twofa.urls, 'twofa')), - url(r'^avatar/(?P[A-Za-z_0-9]+)/?$', avatar_for_user, name='avatar-for-user'), + url(r'^avatar/(?P[\w-]+)/?$', avatar_for_user, name='avatar-for-user'), url(r'^sso/', include(sso.urls, 'sso')), url(r'^$', index, name='index'), url(r'^api/', include(api.urls, 'api')),