Be more liberal about username regex in URL

fix #774
This commit is contained in:
Yohan Boniface 2020-03-25 15:11:11 +01:00
parent 4358a35a5d
commit 2ba7a057f3

View file

@ -83,7 +83,7 @@ urlpatterns += i18n_patterns(
name='maps_showcase'),
url(r'^search/$', views.search, name="search"),
url(r'^about/$', views.about, name="about"),
url(r'^user/(?P<username>[-_\w@]+)/$', views.user_maps, name='user_maps'),
url(r'^user/(?P<username>.+)/$', views.user_maps, name='user_maps'),
url(r'', include(i18n_urls)),
)