mirror of https://gitlab.com/tildes/tildes.git
Browse Source
I didn't like that the previous change made it possible to *always* have leading/trailing whitespace around a username. For example, it made it so that you could go to "/user/ Deimos" and still see my user page because of the leading space being trimmed. This makes it so that you have to manually set a flag in the UserSchema context to enable the trimming, and then only does that on the login view.merge-requests/55/head
Deimos
6 years ago
2 changed files with 13 additions and 4 deletions
Loading…
Reference in new issue