tales / tales-client

Moved to https://gitlab.com/tales/tales-client
http://www.manasource.org/
GNU General Public License v2.0
13 stars 5 forks source link

Disallow leading or trailing spaces at account creation #38

Open Ablu opened 9 years ago

Ablu commented 9 years ago

This is pretty confusing, especiall with @ commands.

bjorn commented 9 years ago

Ah, you mean when the user name should later be typed in an @ command.

I guess we could just trim it server side. If we would not do it server side then the server would have to check for it, which is almost the same thing.

Ablu commented 9 years ago

that sounds fine to me too. But we still need to make sure we trim it everywhere. So even at login tries... Otherwise that would be confusing i fear.

bjorn commented 9 years ago

Of course.

bjorn commented 9 years ago

Or well... the trimming on server side is only required when new accounts are created. For all other purposes, trimming on client-side should suffice.