dat-ecosystem-archive / datBase

Open data sharing powered by Dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
http://datbase.org
244 stars 32 forks source link

username should not be able to have spaces #613

Open joehand opened 7 years ago

joehand commented 7 years ago

It is possible to edit profile to create user with spaces. We should not allow spaces (also check other strange characters).

martinheidegger commented 6 years ago

Just found this rough gist and also noticed that hashbase limits it to a-z0-9{3,16} (its lowercase). Would it make sense to make similar restrictions as hashbase?